# Querying alarm occurences

**URL:** <https://forum.inductiveautomation.com/t/querying-alarm-occurences/12048>\
**Category:** Ignition\
**Created:** [August 19, 2016, 4:47pm UTC](https://forum.inductiveautomation.com/t/querying-alarm-occurences/12048 "2016-08-19T16:47:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyaslimaye](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@shreyaslimaye](https://forum.inductiveautomation.com/u/shreyaslimaye)\
**Post date:** [August 19, 2016, 4:47pm UTC](https://forum.inductiveautomation.com/t/querying-alarm-occurences/12048/1 "2016-08-19T16:47:46Z")

</div>

Hello,

I am using Ignition 7.7.8 version. We are using ignition alarm management to generate alarm notification emails based on tag value changes. I understand that I can use an alarm status table available in the ignition designer to display list of all alarms. But what I want to do is to be able to query occurrences of specific alarms - whether acknowledged and shelved or not. Is there any way for me to query the database to filter out and count the alarm conditions over a large period of time - say 1 year or so?

Thanks,

Shreyas
