You can configure alerts to produce events by using some of the built-in functions in Analytics Service. Alerts are configured to fire when your data falls outside of specific thresholds.
Several built-in functions are available in the function catalog in Analytics Service:
AlertExpression
: Trigger an alert when the value of a data item reaches a particular level. Specify the condition to evaluate by using a pandas expression. Reference a data item by using the format df['data_item'] in your expression.100
. When you configure the function, in the expression field, enter:df['temperature']>100
For more information about writing expressions, see Using expressions.AlertExpressionWithFilter
(Maximo Asset Monitor (SaaS) only): Trigger an alert when the alert condition is met. Define the alert condition as an expression by using pandas syntax. Apply a filter to the expression using a dimension value.
Example: You might want to trigger an alert when temperature exceeds a value of 100
for device ID 73000. When you configure the function, select entity_id
in the dimension_name filed, and enter 73000 in the dimenson_value
field. Then, in the expression field enter: df['temperature']>100
AlertExpressionWithFilterExt
(Beta only): Configure the alert in the same way as you configure AlertExpressionWithFilter
. Select pulse_trigger to suppress consecutive alerts. For example, if the alert condition evaluates
to true for 100 consecutive data points, an alert is generated for the first data point only.AlertLowValue
: Trigger an alert when the value of a data item drops below a specified lower threshold value.AlertHighValue:
Trigger an alert when the value of a data item exceeds an upper threshold value.AlertOutOfRange
: Trigger an alert when the value of a data item exceeds an upper threshold or drops below a lower threshold.Note: The name that you give the alert (output metric) must be no more than 36 characters in length and consist only of ASCII alphanumeric characteristics and the special characters hyperns (-) and underscores (_).
To configure an alert, complete these steps:
input_item
field.output metric
field. Alert (calculated)
.TRUE
is generated for the data item.