Updated on 2024-04-12 GMT+08:00

Disabling a Metric Filter

Scenario

If a filter is no longer needed or becomes invalid because the format or content of logs have changed, you can disable the filter.

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 > 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. Locate the row where the target filter is located and click Disable.

    After the filter is disabled, the metric corresponding to the filter will stop being monitored by AOM.