Detecting active alarms by Display Path or Associated Data

I have a plant with multiple machines and I want a flashing indicator when alarms only in that machine's "group" are active. I currently have an indicator linked to [System]Gateway/Alarming/Active and Acked and [System]Gateway/Alarming/Active and Unacked, but, of course, the operator on Machine 1 gets a flashing light if there are alarms related to Machine 2. I group the alarms using the Display Path and can filter an Alarm Journal or Alarm Status table but can't quite figure our how to filter a general alarm to just subsets of alarmed tags.

I tried doing something through alarm pipelines: I incremented a tag with a script when an alarm became active filtered by Display Path and then decrement the tag when an alarm cleared. It only halfway worked.

I'm looking through system.alarm.queryStatus() and there seems to be a way forward but I'm concerned this approach will be system intensive if I trigger this on each Display Name at a usable frequency (once per second?).

The end result I'm looking for is a set of Boolean tags that look something like:

Boolean01 = any tag with the alarm display path = "Machine01" in active alarm,

Booleon02 = any tag with the alarmdisplay path = " Machine02" in active alarm,

etc.

Any guidance would be appreciated.