Updated on 2023-12-01 GMT+08:00

Deleting a Metric Filter

Scenario

You can create up to 5 metric filters in each log stream. If you want to create a filter but fail to do so because the upper limit has been reached, delete an unnecessary filter and try again.

Prerequisites

  • You have obtained an account and its password for logging in to the console.
  • You have created a log group.
  • You have created a log stream.
  • Logs have been collected.
  • You have created a metric filter.

Procedure

  1. Log in to the console.
  2. Choose Service List > Management & Deployment > Log Tank Service.

    Choose Log Management.

  3. In the log group list, click the name of the log group where the target filter is located.

    The log stream list is displayed.

  4. In the log stream list, locate the target log stream.
  5. Click the number or hyphen in the Metric Filter Numbers column.
  6. Click Delete in the row where the target filter is located.

    After the filter is deleted, the metric corresponding to the filter will stop being monitored by AOM. The previously configured alarm rules may trigger an alarm due to insufficient data.