You can add a configuration to drop logs that match the filter criteria you provide.

Dropping logs lets you view only the logs that you require, which is cost-effective, saves storage, and improves performance.
Note:
  • A log filter configuration is applied only to the logs that are ingested after you create and activate the configuration.
  • A log filter configuration is applied only to logs with static fields in the filter criteria.

Prerequisites

Verify that you are logged in to the vRealize Log Insight web user interface as a Super Admin user, or a user associated with a role that has the relevant permissions. See Create and Modify Roles for more information. The URL format of the web user interface is https://log-insight-host, where log-insight-host is the IP address or host name of the vRealize Log Insight virtual appliance.

Procedure

  1. Navigate to the Administration tab.
  2. Under Management, click Log Management and then click Log Filtering.
  3. Click ""New Configuration.
  4. Enter a unique name for the log filter configuration.
  5. Select fields and constraints to define the logs that you want to drop. If you do not select a filter, all the logs are dropped. To see the results of your filter, click Run in Interactive Analytics.
    Operator Description
    Matches Finds strings that match the string and wildcard specification, where * means zero or more characters and ? means zero or any single character. Prefix and postfix globbing is supported.

    For example, *test* matches strings such as test123 or my-test-run.

    does not match Excludes strings that match the string and wildcard specification, where * means zero or more characters and ? means zero or any single character. Prefix and postfix globbing is supported.

    For example, test* excludes test123, but not mytest123. ?test* excludes test123 and xtest123, but not mytest123.

    starts with Finds strings that start with the specified character string.

    For example, test finds test123 or test, but not my-test123.

    does not start with Excludes strings that start with the specified character string.

    For example, test filters out test123, but not my-test123.

  6. The log filter configuration is activated by default. To deactivate the configuration, click the Enabled toggle button.
  7. Click Save.

Results

The log filter configuration appears in the Log Filtering tab with information about the drop filter and whether it is activated. You can activate or deactivate the configuration by clicking the Enabled toggle button.