- Newest
- Most votes
- Most comments
To edit a CloudWatch Anomaly Detection model, you can follow these steps:
- Open the CloudWatch console and navigate to the Metrics section.
- Find and select the metric that has the anomaly detection model you want to edit.
- In the Graphed metrics tab, look for the anomaly detection band.
- You should see an "Edit model" option. If you don't see this option immediately, it may be because you're using an older version of the CloudWatch interface.
When editing the model, you can:
- Exclude specific time periods from being used in the model's training data. This is particularly useful for excluding unusual events like system outages, deployments, or holidays that might skew the model.
- Adjust the time zone settings to account for daylight saving time changes.
- Modify the band threshold to change the sensitivity of the anomaly detection.
If you're unable to find the "Edit model" option, it's possible that you're using an older version of the CloudWatch interface. In this case, you might need to switch to the latest version of the metrics user interface to access all the editing features, especially for anomaly detection on metric math expressions.
If you still can't locate the edit option, you may want to try deleting the existing model and creating a new one with your desired parameters. To do this:
- Select the anomaly detection model you want to remove.
- Choose "Delete anomaly detection model".
- Then, create a new model with your refined parameters, excluding the anomalous data as needed.
Remember, it's crucial to have sufficient historical data (ideally at least two weeks) for the model to train effectively. If you're working with a newer metric or have recently made significant changes, you may need to wait for more data to accumulate before the model can be accurately refined.
Sources
Graph a metric - Amazon CloudWatch
Create a CloudWatch alarm based on anomaly detection - Amazon CloudWatch
Using CloudWatch anomaly detection - Amazon CloudWatch
Community | How to maximize application uptime using CloudWatch Anomaly Detection
Hi,
on the screen where you took the screenshot that you shared, that is the "Graphed metrics" tab of the metrics console, you must click on the dotted line that displays ANOMALY_DETECTION_BAND(m1, 2) - when you click on it, it should display a popup menu that has an option to edit your model.
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 5 months ago

How can I switch the metrics user interface?