All Products
Search
Document Center

Simple Log Service:Log auditing and monitoring

Last Updated:Sep 04, 2024

Simple Log Service provides the service log feature and integrates with CloudMonitor to help you monitor and audit your service data.

Service logs

The service log feature of Simple Log Service allows you to record operational events in a project into logs. This feature also provides dashboards that allow you to analyze data from multiple dimensions. You can use this feature to view the service status of Simple Log Service in real time and improve O&M efficiency.

When the service log feature is enabled for a project, the generated log data is classified and stored in one of the dedicated Logstores. By default, Simple Log Service automatically creates the following two dedicated Logstores:

  • internal-diagnostic_log: stores the consumption delay logs of consumer groups, Logtail heartbeat logs, and the operational logs of jobs. The logs are classified by topic. Log data in the Logstore is retained for 30 days and the retention period cannot be modified. The Logstore is free of charge.

  • internal-operation_log: stores operation logs. A log corresponds to an API request. Log data in the Logstore is retained for 30 days by default and can be modified. The billing method for the Logstore is the same as regular Logstores.

For more information, see Service logs.

CloudMonitor

You can use CloudMonitor to monitor the metrics of Simple Log Service. The metrics include write traffic, overall QPS, and service status. You can configure alert rules to monitor log collection and shard usage. You can also detect related exceptions.

For more information, see Use CloudMonitor.