Log Audit Service provides built-in alert rule templates that you can use to monitor your audit data in real time.
Prerequisites
The audit feature must be enabled for the target cloud products on the Global Configurations page. For more information, see Enable log collection.
Background information
Log Audit Service provides the following built-in resources for alerting: alert rule templates, SLS audit builtin alert policy, SLS audit builtin action policy, SLS audit builtin user group, and SLS audit builtin content template. These resources are related as follows:
-
A built-in alert rule template uses the built-in alert policy.
NoteThe built-in alert rule templates are associated with the built-in alert policy. You can change the settings based on your business requirements.
-
The built-in alert policy uses the built-in action policy.
-
The built-in action policy uses the built-in user group and built-in content template.
Procedure
Log on to the Simple Log Service console.
Go to the Log Audit Service page.
NoteAs of January 21, 2025, the console entry point for Log Audit Service has been removed. However, it is still visible to existing users who activated the service before January 21, 2025. New users who need to use the old version can access the Log Audit Service (New Version) and use the Back to Old Version feature.
In the Log Application area, on the Audit & Security tab, click Log Audit Service (New Version).
In the upper-right corner of the New Log Audit page, click Back to Old Version to continue using the features of Log Audit (Old Version).
-
In the left-side navigation pane, choose Audit alerts > Policy Settings > Alert Rules.
-
On the Alert Rules page, click Create Alert, and then click Create from Template at the top of the panel.
-
Select a template, configure the parameters as needed, and then click OK.
For more information about the parameters, see Create an alert rule for logs.
What to do next
|
Operation |
Description |
|
Disable an alert rule |
If you disable an alert rule, it no longer triggers alerts and its Status changes to Disabled. The rule configurations are preserved. You can re-enable the rule without reconfiguring its parameters. |
|
Pause an alert rule |
If you pause an alert rule, no alerts are triggered for the rule within the specified period. |
|
Resume an alert rule |
You can resume a paused alert rule based on your business requirements. |
|
Delete an alert rule |
The alert rule and all its configurations are removed, including the associated Alibaba Cloud account. To use the rule again, you must reconfigure all parameters. |