You can configure webhook URLs for alert ingestion. To do this, you must create an alert ingestion service and an alert ingestion application in the Log Service console. Then, Log Service can receive alerts from external monitoring systems.
Step 1: Create an alert ingestion service and an alert ingestion application
- Log on to the Log Service console.
- Go to the Alert Ingestion page.
- In the Projects section, click a project.
- In the left-side navigation pane, click Alerts.
- Choose .
- Create an alert ingestion service.
- Click Create.
- In the Add Service dialog box, specify the ID and name of the service, and click Save.
- Create an alert ingestion application.
Step 2: Obtain webhook URLs
When you configure parameters in Prometheus or Grafana, you must use the related webhook URL.
Appendix: Obtain an AccessKey ID
To ensure the security of your Alibaba Cloud account, we recommend that you use a
RAM user rather than an Alibaba Cloud account to ingest alerts. Before you can use
a RAM user to ingest alerts, you must grant the AliyunLogPutOpenEventPolicy
permission to the RAM user. To obtain an AccessKey ID, perform the following steps:
- Create a RAM user. For more information, see Create a RAM user.
- Grant the AliyunLogPutOpenEventPolicy permission to the RAM user. For more information, see Grant permissions to a RAM user.
- Create an AccessKey pair that includes an AccessKey ID for the RAM user. For more information, see Create an AccessKey pair for a RAM user.
What to do next
- Ingest Prometheus alerts into Log Service
- Ingest Grafana alerts into Log Service
- Ingest Zabbix (Zabbix 4.4 or later) alerts into Log Service
- Ingest Zabbix (Zabbix 3.2 to 4.2) alerts into Log Service
- Ingest CloudMonitor alerts into Log Service
- Ingest Alertmanager alerts into Log Service
- Ingest Datadog alerts into Log Service
- Ingest Loki alerts into Log Service
- Ingest CloudWatch alerts into Log Service
- Ingest New Relic alerts into Log Service
- Ingest Security Center alerts into Log Service
- Ingest Cloud Eye alerts into Log Service