Hi all,
I am working on a solution to log operator actions (tag writes) into the Ignition Alarm Journal for audit trail purposes. My approach is to insert records directly into the alarm_events and alarm_event_data tables using a Named Query called from a Python script.
The inserts are working correctly — I can see the records in the database using SSMS. However the records are not visible via system.alarm.queryJournal() or in the Perspective Alarm Journal Table component, even though Ignition-generated alarm records for the same tags appear without issue.
Here is what I have verified:
-
My inserted records are structurally identical to Ignition-generated records in both alarm_events and alarm_event_data
-
The source and displaypath values exactly match those written by Ignition for real alarms on the same tags, including the :/alm:Alarm suffix on the source path
-
The eventid is a randomly generated UUID via SQL NEWID()
-
eventtype, eventflags, and priority all match Ignition-generated records
My question is: Why won't my custom and simingly valid alarm_events and alarm_event_data table entries show up in the Perspective Alarm Journal table.
Any guidance would be greatly appreciated!