Filtering Logs using Log Analysis

Last updated on 30 August, 2024

Use filtering to narrow down logs by including or excluding values of a dimension. These actions will add an items to the filter.

You can filter the logs as follows:

  1. From your Log Analysis session, select a dimension from pie chart, and then select Include or Exclude the selected dimension. This includes or excludes only the selected dimension in the filter section.
    include exclude error option
  2. To apply filter from the widget menu, select the widget menu and then select Include selected in filter or Exclude selected in filter. This includes or excludes all the dimensions from the selected widget to the filter section.
    include exclude option. in search
  3. From the filter section, select Submit to apply the filters on the logs, else select Reset to remove applied filters and also to reset zoom in.
    log analysis filter option

Note: Each filter option can be toggled on or off or deleted from the list. A green check indicates the value will be included in the log query, and the red x indicates that it will be excluded from the log query.

Filtering Logs using Negative Phrases

You can filter logs using negative phrases. The filter result displays only the logs that matches the negative phrases or keywords.

To filter logs using negative phrases, from your Log Analysis session, do the following:

  1.  Select a dimension from pie chart, and then select Show Negative Phrases.
    phrase from slice list
    This displays negative phrases for the selected dimension.
    show negative phrases option
  2. Select the widget menu and then select Show Negative Phrases.

    This displays negative phrases for the selected widget.
  3. From the filter section, select Negative Phrases.

    This displays negative phrases for the entire log analysis session.

Related Topics: