# How to find list of all tags that have an alarm configured?

**URL:** <https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377>\
**Category:** Ignition\
**Created:** [December 12, 2018, 5:37pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377 "2018-12-12T17:37:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rupej](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@rupej](https://forum.inductiveautomation.com/u/rupej)\
**Post date:** [December 12, 2018, 5:37pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/1 "2018-12-12T17:37:50Z")

</div>

Hello, new to ignition here.

I’m starting with a project that already has some alarms configured, but I can’t seem to find which tags they are associated with. On the alarm status screen, the “display path” column does not reference real tag names, so I’m curious how to find out what tags are triggering them.

Is there a list somewhere that shows you all alarms that are configured, and which tags they are generated from?

Thanks!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 12, 2018, 5:42pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/2 "2018-12-12T17:42:14Z")

</div>

> [@Tags with alarms listing from database query](http://forum.inductiveautomation.com/t/tags-with-alarms-listing-from-database-query/19626):
>
> Forgive me if this has been asked before…I couldn’t find this question posted previously and did not figure it out browsing the database tables. I would like to use a SQL query to obtain a listing of tags configured with alarms (we are re-evaluating our priority scheme and desire to utilize Excel spreadsheets for analysis). I’ve very comfortable with SQL…just need to know where this information is located within the Ignition schema., Thanks in advance for any assistance! John

---

<div class="post-metadata">

**Author:** ![rupej](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@rupej](https://forum.inductiveautomation.com/u/rupej)\
**Post date:** [December 12, 2018, 8:45pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/3 "2018-12-12T20:45:50Z")

</div>

Thanks Jordan.

So there is no native way to see that list? What about an alarm that you already see in the alarm status window- is there any way to identify where it is coming from natively? I don’t have any SQL experience or a database set up, just want to see what tag is generating that alarm.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [December 12, 2018, 9:30pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/4 "2018-12-12T21:30:02Z")

</div>

You should be able to use system.tag.browseTagsSimple and system.tag.getAlarmStates to determine which tags have an alarm configuration.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 21, 2019, 12:40am UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/5 "2019-10-21T00:40:36Z")

</div>

> [@rupej](#):
>
> I’m starting with a project that already has some alarms configured, but I can’t seem to find which tags they are associated with. On the alarm status screen, the “display path” column does not reference real tag names, so I’m curious how to find out what tags are triggering them.

Late, but for posterity:  
To answer this part of your question, in the alarm status component you can click on an alarm item and then click on the magnifying glass icon in the bottom right of the component. This will show you the details of the alarm, including the path to the associated tag (the bottom control panel needs to also be displayed via the component properties to see the magnifying glass button).

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [October 21, 2019, 2:01am UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/6 "2019-10-21T02:01:07Z")

</div>

Perhaps what @repej wants is a built in feature for listing of all tags having alarms configured on them on screen or in a file! I guess a script is the only solution or export all tags in an XML and hopefully it will have the information about the alarms on each tag !

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 25, 2019, 2:22am UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/7 "2019-10-25T02:22:35Z")

</div>

As I mentioned in another post, using `getAlarmStates()` is only going to return properties of the alarm that have been _changed from their defaults_.

Using `system.alarm.queryStatus(source="*")` is far quicker and will also get you access to all of the properties, changed or not.

> [@Best way to generate an alarm list](http://forum.inductiveautomation.com/t/best-way-to-generate-an-alarm-list/11773/2):
>
> results = system.alarm.queryStatus(source=["\*"]) for alarm in results: print alarm.source That should do the trick. Of course that just gives the source, but you could use the alarm object to grab whatever configuration settings you wanted out of it.

---

<div class="post-metadata">

**Author:** ![Diego\_Aaron\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Diego\_Aaron\_Gonzalez](https://forum.inductiveautomation.com/u/Diego_Aaron_Gonzalez)\
**Post date:** [October 10, 2022, 6:03pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/8 "2022-10-10T18:03:22Z")

</div>

> [@nminchin](#):
>
> `getAlarmStates()`

hello, does this function only returns alarm events data, or can it return all the configured alarms, even if it hasn't events?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 10, 2022, 6:41pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/9 "2022-10-10T18:41:11Z")

</div>

This was super old, and there are better ways now to do this. There's another newer post, let me find it..

> [@How to Generate a List of all Configured Alarms](https://forum.inductiveautomation.com/t/how-to-generate-a-list-of-all-configured-alarms/36651/6):
>
> Here is what we use. Put this in a project script or on a button, and call getAlarms(rootPath). It will return a list. You will want to run this from the gateway, as it is a recursive browse. Invoke with sendRequest or sendRequestAsync. def getAlarms(tagPath): from com.inductiveautomation.ignition.common.tags.paths.parser import TagPathParser alarms = [] def iterTagConfig(dictIn, folderIn = ''): keys = dictIn.keys() #Move tags and alarms to end of list. I do not recall why, but it…

Or if you're on a 8.1.21, you can use the new tag report tool

---

<div class="post-metadata">

**Author:** ![Diego\_Aaron\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Diego\_Aaron\_Gonzalez](https://forum.inductiveautomation.com/u/Diego_Aaron_Gonzalez)\
**Post date:** [October 11, 2022, 1:18pm UTC](https://forum.inductiveautomation.com/t/how-to-find-list-of-all-tags-that-have-an-alarm-configured/21377/11 "2022-10-11T13:18:08Z")

</div>

hello Nick, thanks for your reply

actually, I'm using 7.9.13
