Use a custom filter for queries with more than one condition
applied to one or more columns.
You define custom filters in the
Find panel, which you can access by clicking on
the
Find (
) button. Within this panel, the
Filter tab is where you define the custom
filter.
To define a custom filter:
- Click on the
Find (
) button at the bottom of the Log Viewer
window.
The
Find panel will appear.
- If not currently set, click on the
Filter tab.
- Choose between
Match all of the following and
Match any of the following to determine how
the search conditions you will specify should be combined. The first option is
equivalent to using AND, while the second option is like using OR.
Steps 4 to 6, which follow, are similar to steps 1 to 3 when
using the quick filter.
- Select the column you want to place the first condition on
from the column drop-down list.
- Set the condition drop-down list. Condition options are
available as a function of the column selected. For example, the conditions for
the Severity column are
is,
is not,
Higher than, and
Lower than.
- Specify the value to be checked against by the condition.
Depending on the type of column you are comparing against, you will need to
select a severity level, enter a string, or specify a date or time.
- To add a search condition, click the add icon (
) and repeat steps 4 to 6. You can specify up to 11 search
conditions.
A search condition is added.
- To remove a search condition, press the remove icon (
) for that condition.
The search condition is removed.
- To view the list of logged events your filter definition will
return, click
Search (
).
The logged events which match the filter conditions will be
displayed under the
Occurrences tab.
- If you want to save the filter, enter a name in the
Filter Name field and click
Save.
The filter is saved.
Once saved, your filter definition is added to the
Filter drop-down list in the toolbar.