This topic describes alert attributes.

Type Attribute Child attribute Identifying attribute (Fingerprint) Description Example
Monitoring Rule Alibaba Cloud Account ID N/A Yes The ID of the associated Alibaba Cloud account.

The ID of the Alibaba Cloud account to which an alert monitoring rule belongs, or the ID that you specify when you configure an ingested alert.

12****90
Alert Type N/A No The type of an alert. Valid values:
  • Alert Monitoring Rule: indicates an alert that is triggered by an alert monitoring rule.
  • Ingested Alert: indicates that an alert is ingested.
Ingested Alert
Region N/A No The region to which an alert monitoring rule belongs. cn-hangzhou
Project N/A Yes The project to which an alert monitoring rule belongs. my-project
Rule ID N/A Yes The unique ID of an alert monitoring rule. alert-12345
Rule Name N/A No The name of an alert monitoring rule. NGINX Alert
Alert Information Status N/A No The status of an alert. Valid values:
  • Trigger Alert
  • Recovery Notifications
Trigger Alert
Severity N/A No The severity level of an alert.
  • Critical
  • High
  • Medium
  • Low
  • Report
Critical
Title N/A No The title of an annotation. Alert Title
Description N/A No The description of an annotation. Alert Description
Label Name Yes An alert label.
  • Name: env
  • Value: prod
Annotation Name No An alert annotation.
  • Name: status
  • Value: 400
Time Triggered At No The time when an alert is triggered. 1616744734
First Triggered At No The time when the first alert is triggered by an alert monitoring rule. The time is a UNIX timestamp. Unit: seconds. 1616059834
Recovery Time No The time when an alert is cleared.
  • If the alert is in the firing state, the value is 0.
  • If the alert is in the resolved state, the value is the point in time at which the alert is cleared. The time is a UNIX timestamp. Unit: seconds.
0
Other Advanced Configurations Policy Configurations Alert Policy ID No The ID of an alert policy. sls.test-alert
Action Policy ID No The ID of an action policy. sls.test-action
Alert Ingestion Service Name No The name of an alert ingestion service. test
Application Name No The name of an alert ingestion application. test
Protocol No The protocol of an ingested alert. zabbix
Region No The region in which an alert is ingested. cn-hangzhou
Query Statistics 0, Query Statistics 1, and Query Statistics 2 Type No The following query types are supported:
  • If you query data from a Logstore, the value is Logstore.
  • If you query data from a Metricstore, the value is MetricStore.
  • If you query resource data, the value is Resource Data.
Logstore
Region No If you query data from a Logstore or a Metricstore, the value is the region where the related project resides.
Note This attribute does not exist if you query resource data.
cn-hangzhou
Project No If you query data from a Logstore or a Metricstore, the value is the project name where the source data resides.
Note This attribute does not exist if you query resource data.
my-project
Destination Database No The name of a destination Logstore or Metricstore. my-logstore
Query Associated Dashboard No The ID of the dashboard that is associated with a query. mydashboard
Use Service-linked Role No The Alibaba Cloud Resource Name (ARN) of a RAM role. acs:ram::13****44:role/logrole
Query No If you query data from a Logstore or a Metricstore, the value is a query statement.
Note This attribute does not exist if you query resource data.
* | select count(1) as cnt
Start Time No If you query data from a Logstore or a Metricstore, the value is the start time of a time range to query data.
Note This attribute does not exist if you query resource data.
1616744734
End Time No If you query data from a Logstore or a Metricstore, the value is the end of a time range to query data.
Note This attribute does not exist if you query resource data.
1616744744