persistent class %Monitor.AlertLog
extends %Persistent, %CSP.Page
The Monitor alert log
Persistent CSP-enabled class to show alerts that have been
triggered on the system.
property Application
as %String [ Required ];
Alert application
property DateTime
as %String;
Date and time of alert
property MetricClass
as %String [ InitialExpression = 0 ];
Metrics class
property Name
as %String [ Required ];
Alert name
property PropertyList
as %String;
Metrics property list
A comma-separted string of property names
property PropertyValueList
as %List;
Metrics property value list
A comma-separted string of property values corresponding to the property list
query AlertLog(name As %String = "", app As %String = "")
SQL Query
:
SELECT %ID FROM AlertLog
WHERE (Name %STARTSWITH :name AND Application %STARTSWITH :app)
Selected items from the Alert Log
query Alerts()
SQL Query
:
SELECT %ID FROM AlertLog
Returns all alerts that have occurred on system