Configure anomaly detection
CloudLens for OSS includes built-in alert rules that you can enable to detect and analyze unusual bucket activity.
Create an alert
Log on to the Simple Log Service console.
-
In the Log Application section, on the Cloud Service Lens tab, click CloudLens for OSS.
-
In the left-side navigation pane, choose .
-
In the list of buckets, click Create Alert Monitoring Rule for the target bucket.
-
In the Create Alert Monitoring Rule dialog box, configure the parameters.
-
Select a target alert monitoring rule.
CloudLens for OSS includes built-in alert monitoring rules. For more information, see Alert monitoring rules.
-
Configure parameters such as alert thresholds and an action policy.
CloudLens for OSS includes a built-in action policy that sends alert notifications by email to the OSS insight user group. Before using this policy, you must create users and add them to the group. For more information, see Create users and user groups.
-
Click Confirm.
-
After you enable an alert rule, you can go to the Alert Management page to edit, disable, or delete the rule.
View the alert dashboard
The alert dashboard shows triggered alerts and the overall alert status.
Log on to the Simple Log Service console.
-
In the Log Application section, on the Cloud Service Lens tab, click CloudLens for OSS.
-
In the left-side navigation pane, choose .
-
View alert information.
You can filter alerts by region and bucket at the top of the page. The Alerts Triggered in Last 24 Hours section shows active alerts, pending incidents, and configuration errors, each with a Details link. Today's Alert Data displays alerts by severity with day-over-day changes. Alert Trigger Trend (Today vs. Yesterday) compares trends over time. Alert Severity Distribution shows severity percentages. Recent Incidents lists incidents with details such as severity and status. The page also includes panels for Incident Status, Alert Assignee Distribution, Alert Channel Sending Status, and Alert Rule Configuration Errors.
Alert monitoring rules
Spike in 403, 404, 408, 499, and 4xx requests
|
Item |
Description |
|
Purpose |
Monitors for sudden increases in 403, 404, 408, 499, and 4xx requests. |
|
Check frequency & time range |
Checks data from the previous minute every minute. |
|
Trigger condition |
Triggers an alert if the number of error requests (403, 404, 408, 499, or 4xx) in the past minute and the minute-over-minute percentage increase both exceed their specified thresholds. |
|
Parameters |
|
Sudden spike in internet download or upload traffic
|
Item |
Description |
|
Purpose |
Monitors for sudden increases in internet download and upload traffic. |
|
Check frequency & time range |
Checks data from the previous minute every minute. |
|
Trigger condition |
Triggers an alert if the download or upload traffic in the past minute and the minute-over-minute percentage increase both exceed their specified thresholds. |
|
Parameters |
|
OSS bucket deletion alert
|
Item |
Description |
|
Purpose |
Monitors the deletion of OSS buckets. |
|
Check frequency & time range |
Checks data from the previous minute every minute. |
|
Trigger condition |
Triggers an alert when an OSS bucket is deleted. |
|
Parameters |
|
High-frequency access IP detection
|
Item |
Description |
|
Purpose |
Monitors high-frequency access from specific IP addresses to OSS buckets that use Standard storage. |
|
Check frequency & time range |
Checks data from the past 10 minutes every minute. |
|
Trigger condition |
Triggers an alert when a single IP address accesses a bucket too frequently. |
|
Parameters |
|