You use (select from or enter information into) one or more boxes of the Add/Edit Custom Filter dialog box to create or edit custom filters for log charts.
The name that you enter in the “Filter name” box is displayed in the View by filter list of the Log Analyzer Charts window.
The selections that you make in the following boxes determine which log entries are returned:
Application, User, and Message number—The three boxes list only the applications, users, and message numbers found in the log.
To return entries for one application, user, or message number, select an application, user, or message number.
To return entries for all applications, users, or message numbers in the log file, select All.
To return only entries that do not reference a specific application, user, or message number, select None.
Note: | To look up an error number, in the Message number list, select Look up. Then, in The Message Number Lookup dialog box, select an error, and click OK to return to the Add/Edit Custom Filter dialog box. |
Predefined duration, Start date, and End date
Select a predefined duration or, from the “Predefined duration” list, select Custom (if you want to specify a start and end date).
To return all entries written on or before a certain date, specify the end date and do not specify a start date.
To return all entries written on or after a certain date, specify the start date and do not specify an end date.
Text contains text—To return only entries that contain specified text, enter the text. The field is case-sensitive.
Message type
To return only entries that reference a specific type of message, select error, info, or warning.
To return entries for all message types, select All.
The information that you enter and the selections that you make in the following boxes determine the layout and labeling of the log chart:
X-axis title and Y-axis title
X-axis and Y-axis—The X-axis category that you select determines how the count specified for the Y-axis is grouped. The Y-axis category that you select determines what is counted. The X-axis and Y-axis categories must be different; each is selected from the following list:
Application
Database
User
Log entry date
Message type
Message number
Granularity—If you selected a log entry date for the X-axis, you can select hourly, daily, weekly, or monthly.
Series—Select a series to further categorize the Y-axis. For example, to view a chart showing the count of each message type for each application, select Message type as the X-axis, Application as the Y-axis, and Application as the series. The series selection applies only to the Y-axis.