Filtering log records in log view
Filtering in the Log and Trace Analyzer is based on the Common Base Event properties.
You can create filters to examine specific data from the application log files.
The Log and Trace Analyzer provides two methods of filtering log records.
With regular filtering, you can specify which Common Base Event properties to display and the order
in which they are displayed in the Log view.
With advanced filtering, you can create filters based on values that you specify for the Common Base
Event properties.
Filtering
-
In Log view, click the Filter Properties
button
. The Filter Properties dialog box opens.
-
To control which properties should appear in
the Properties pane, select or clear the properties to be displayed.
To control their order, use the Up and Down buttons.
-
To filter by severity, select or clear the severity of error log
records. Severity is indicated
like this:
-

-
High severity
-

-
Medium severity
-

-
Low severity
Click OK. The list of records is refreshed.
Advanced filtering
To create an advanced filter, click the Advanced
Filter Properties button
in the Log view. The Advanced Filter Properties dialog box opens.
- Adding a filter
- To add a new filter, click Add. The Add Filter Property dialog box opens.
- Select an attribute and operator. Type a value for the attribute. For example, you want
to filter the log records by the creationTime and msg attribute. The filter would be created
as follows:
Tip: Value field of the filter can be a string pattern
with * used as wildcard.
- Click OK. The new property filter shows up in the Advanced Filter Property
dialog box.
- Click OK. The filter is applied to the Log view.
Using above example,
the Log View will only show the log records that satisfy the criteria specified in the filter.
- Editing a filter
- To edit a filter, select the filter from the list and click Edit.
The Edit Filter Property dialog box opens.
the attribute, operator, and value. Since filters are applied sequentially,
starting with the topmost filter, you may need to move filters Up or Down.
- Update the attribute, operator or value.
- Click OK. The modified property filter is updated in the Advanced Filter Property
dialog box.
- Click OK. The filter is applied to the Log view.
- Deleting a filter
- To delete a filter, select it, then click Remove.
- Click OK. The list of records is refreshed.
- Click OK. The Log view is refreshed.
Related concepts
Determining problems in distributed
applications using the Log and Trace Analyzer
Related tasks
Working with log files
Sorting log records
Analyzing a log file
Setting preferences for the Log and Trace Analyzer
Correlating log files
Related reference
Log view
Canonical Situation Data Format: The Common Base Event v1.0.1
(C) Copyright IBM Corporation 2000, 2004. All Rights
Reserved.