

# View anomalies that have been found
<a name="LogsAnomalyDetection-View"></a>

After you create one or more log anomaly detectors, you can use the CloudWatch console to view the anomalies that they have found. 

You can view anomalies programmatically. For more information, see [ListAnomalies](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html).

**To view the anomalies found by all of your log anomaly detectors**

1. Open the CloudWatch console at [https://console.aws.amazon.com/cloudwatch/](https://console.aws.amazon.com/cloudwatch/).

1. Choose **Logs**, **Log Anomalies**.

   The **Logs anomalies** table appears. The number at the top next to **Log anomalies** displays how many log anomalies are listed in the table. Each row in the table displays the following information:
   + The **Anomaly** column displays a short summary of the anomaly. These summaries are generated by CloudWatch Logs.
   + The **Priority** of the anomaly. Priority is automatically computed based on the amount of change in the log events, key words such as `Exception` occurring in a log event, and more. 
   + The **Log pattern** that the anomaly is based on. For more information about patterns, see [Log anomaly detection](LogsAnomalyDetection.md).
   + **Anomaly log trend** displays a histogram depicting the volume of logs matching the pattern.
   + **Last detection time** displays the most recent time that this anomaly was found.
   + **First detection time** displays the first time that this anomaly was found.
   + **Anomaly detector** displays the name of the log group containing the log events related to this anomaly. You can choose this name to see the log group details page.

1. To further inspect one anomaly, choose the radio button in its row.

   The **Pattern inspect** pane appears and displays the following: 
   + The **Pattern** that this anomaly is based on. Select a token within the pattern to analyze that token's values.
   + A histogram showing the number of occurrences of the anomaly over the queried time range. 
   + The **Log samples** tab displays a few of the log events that are part of the anomaly.
   + The **Token Values** tab displays the values of the selected dynamic token, if you have selected one.
**Note**  
A maximum of 10 token values is captured for each token. Token counts might not be precise. CloudWatch Logs uses a probabilistic counter to generate the token count, not the absolute value.

1. To suppress an anomaly, choose the radio button in its row and then do the following:

   1. Choose **Actions**, **Suppress Anomaly**.

   1. Then specify how long you want the anomaly to be suppressed.

   1. To suppress all anomalies related to this pattern, select **Suppress Pattern**.

   1. Choose **Suppress anomaly**.

**To view the anomalies found in a single log group**

1. Open the CloudWatch console at [https://console.aws.amazon.com/cloudwatch/](https://console.aws.amazon.com/cloudwatch/).

1. Choose **Logs**, **Log groups**.

1. Choose the name of a log group, and then choose the **Anomaly detection** tab.

   The **Anomaly detection** table appears. The number at the top next to **Log anomalies** displays how many log anomalies are listed in the table. Each row in the table displays the following information:
   + The **Anomaly** column displays a short summary of the anomaly. These summaries are generated by CloudWatch Logs.
   + The **Priority** of the anomaly. Priority is automatically computed based on the amount of change in the log events, key words such as `Exception` occurring in a log event, and more. 
   + The **Log pattern** that the anomaly is based on. For more information about patterns, see [Log anomaly detection](LogsAnomalyDetection.md).
   + **Anomaly log trend** displays a histogram depicting the volume of logs matching the pattern.
   + **Last detection time** displays the most recent time that this anomaly was found.
   + **First detection time** displays the first time that this anomaly was found.

1. To further inspect one anomaly, choose the radio button in its row.

   The **Pattern inspect** pane appears and displays the following: 
   + The **Pattern** that this anomaly is based on. Select a token within the pattern to analyze that token's values.
   + A histogram showing the number of occurrences of the anomaly over the queried time range. 
   + The **Log samples** tab displays a few of the log events that are part of the anomaly.
   + The **Token Values** tab displays the values of the selected dynamic token, if you have selected one.
**Note**  
A maximum of 10 token values is captured for each token. Token counts might not be precise. CloudWatch Logs uses a probabilistic counter to generate the token count, not the absolute value.

1. To suppress an anomaly, choose the radio button in its row and then do the following:

   1. Choose **Actions**, **Suppress Anomaly**.

   1. Then specify how long you want the anomaly to be suppressed.

   1. To suppress all anomalies related to this pattern, select **Suppress Pattern**.

   1. Choose **Suppress anomaly**.