# filterAlarm on Alarm status or journal component

**URL:** <https://forum.inductiveautomation.com/t/filteralarm-on-alarm-status-or-journal-component/10583>\
**Category:** Ignition\
**Created:** [October 6, 2015, 3:28pm UTC](https://forum.inductiveautomation.com/t/filteralarm-on-alarm-status-or-journal-component/10583 "2015-10-06T15:28:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 6, 2015, 3:28pm UTC](https://forum.inductiveautomation.com/t/filteralarm-on-alarm-status-or-journal-component/10583/1 "2015-10-06T15:28:17Z")

</div>

I try to use filterAlarm on Alarm status or journal component.  
In the Extension function code snipped, there is some example of alarmEvent properties.  
But I need the list of all available property of an alarmEvent which I can access with alarmEvent.get(‘propertyName’)

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 6, 2015, 3:55pm UTC](https://forum.inductiveautomation.com/t/filteralarm-on-alarm-status-or-journal-component/10583/2 "2015-10-06T15:55:50Z")

</div>

Ok, disclaimer: we know that the alarm objects are currently not very script friendly.

Most of the properties you can get from the alarm object live in a class called CommonAlarmProperties, execute this in the script console and you can find a list of them:

`from com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties
print CommonAlarmProperties.values()`

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 6, 2015, 4:01pm UTC](https://forum.inductiveautomation.com/t/filteralarm-on-alarm-status-or-journal-component/10583/3 "2015-10-06T16:01:47Z")

</div>

Result :  
[name, enabled, priority, displayPath, activePipeline, clearPipeline, ackPipeline, deadband, deadbandMode, timeOnDelaySeconds, timeOffDelaySeconds, timestampSource, ackMode, notes, ackNotesReqd, shelvingAllowed, isSystemEvent, isInitialEvent, systemAck, isShelved, shelveExpiration, eventNotificationCanceled, filter, eventId, source, state, eventState, eventTime, eventValue, ackUser, ackUserName, ackNotes, isAcked, isActive, isClear, activeTime, clearTime, ackTime, activeDuration, activeDurationMS, ackDuration, ackDurationMS, displayPathOrSource, itemPath, fullItemPath, itemName, branchDepth, pipelineTransitionCount, legacySendClear]

thanks a lot carl !
