All Products
Search
Document Center

Simple Log Service:Alert attributes

Last Updated:Sep 24, 2024

This topic describes the basic information about alert attributes.

Category

Attribute

Child attribute

Identifying attribute (fingerprint)

Description

Example

Alert 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 the alert rule belongs, or the ID that you specify when you configure an ingested alert.

12****90

Alert type

N/A

No

The type of the alert. Valid values:

  • Alert rule-based alerts: alerts that are triggered by an alert rule.

  • Ingested alerts: alerts that are ingested from an alerting system.

Ingested alert

Region

N/A

No

The region to which the alert rule belongs.

cn-hangzhou

Project

N/A

Yes

The project to which the alert rule belongs.

my-project

Rule ID

N/A

Yes

The ID of the alert rule. The ID is unique in a project.

alert-12345

Rule name

N/A

No

The name of the alert rule.

NGINX Alert

Alert information

Status

N/A

No

The status of the alert. Valid values:

  • Alert triggered

  • Alert cleared

Alert triggered

Severity

N/A

No

The severity level of the alert.

  • Critical

  • High

  • Medium

  • Low

  • Report

Critical

Title

N/A

No

The title of the annotation.

Alert title

Description

N/A

No

The description of the annotation.

Alert description

Label

Custom name

Yes

The label of the alert.

  • Name: env

  • Value: prod

Annotation

Custom name

No

The annotation of the alert.

  • Name: status

  • Value: 400

Time

Trigger time

No

The time when the alert is triggered. The time is a UNIX timestamp. Unit: seconds.

1616744734

First trigger time

No

The time when the alert is first triggered by the alert rule. The time is a UNIX timestamp. Unit: seconds.

1616059834

Recovery time

No

The time when the 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 settings

Policy

Alert policy ID

No

The ID of the alert policy.

sls.test-alert

Action policy ID

No

The ID of the action policy.

sls.test-action

Ingested alert

Service name

No

The name of the alert ingestion service.

test

Application name

No

The name of the alert ingestion application.

test

Protocol

No

The protocol of the ingested alert.

zabbix

Region

No

The region in which the alert is ingested.

cn-hangzhou

Query statistics

Type

No

The type of data that you want to monitor.

  • If you query data in a Logstore, the value is Logstore.

  • If you query data in a Metricstore, the value is Metricstore.

  • If you query resource data, the value is Resource Data.

Logstore

Region

No

If you query data in a Logstore or a Metricstore, the value is the region of the project to which the Logstore or Metricstore belongs.

Note

If you query resource data, this parameter is unavailable.

cn-hangzhou

Project

No

If you query data in a Logstore or a Metricstore, the value is the project to which the Logstore or Metricstore belongs.

Note

If you query resource data, this parameter is unavailable.

my-project

Logstore or Metricstore

No

The name of the Logstore or Metricstore in which data you want to query data.

my-logstore

Associated dashboard

No

The ID of the associated dashboard.

mydashboard

Service-linked role

No

The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role.

acs:ram::13****44:role/logrole

Query statement

No

If you query data in a Logstore or a Metricstore, the value is a query statement.

Note

If you query resource data, this parameter is unavailable.

* | select count(1) as cnt

Query start time

No

If you query data in a Logstore or a Metricstore, the value is the beginning of the time range to query.

Note

If you query resource data, this parameter is unavailable.

1616744734

Query end time

No

If you query data in a Logstore or a Metricstore, the value is the end of the time range to query.

Note

If you query resource data, this parameter is unavailable.

1616744744