Using Filters
On the View Events page, you can use filters to display relevant events. Table 1 lists the different filters, their functions, and the associated actions. You can apply any or a combination of the described filters to view the messages that you want to view. After specifying the filter or filters you want, click Search to display the filtered events. Click Reset to clear the existing search criteria and enter new values.
Table 1: Summary of Event Filters
Event Filter | Function | Your Action |
---|---|---|
System Log File | Specifies the name of a system log file for which you want to display the recorded events. The list includes the names of all the system log files that you configure. By default, a log file, messages, is included in the /var/log/ directory. For information about how to configure system log files, see the Junos OS System Log Messages Reference. | To specify events recorded in a particular file, select the system log filename from the list—for example, messages. |
Event ID | Specifies the event ID for which you want to display the messages. If you type part of the ID, the system completes the remaining ID automatically. An event ID, also known as a system log message code, uniquely identifies a system log message. It begins with a prefix that indicates the generating software process or library. | To specify events with a specific ID, type its partial or complete ID—for example, TFTPD_AF_ERR. |
Description | Specifies text from the description of events that you want to display. You can use a regular expression to match text from the event description. Note: The regular expression matching is case-sensitive. For more information about using regular expressions, see Using Regular Expressions. | To specify events with a specific description, type a text string from the description. You can include a regular expression. For example, type ^Initial* to display all messages with lines beginning with the term Initial. |
Process | Specifies the name of the process generating the events you want to display. To view all the processes running on your system, enter the CLI command show system processes in the J-Web CLI terminal. For more information about processes, see the Installation and Upgrade Guide. | To specify events generated by a process, type the name of the process. For example, type mgd to list all messages generated by the management process. |
Include archived files | Includes the archived log files in the search. Files are archived when the active log file reaches its maximum size limit. | Select the check box to include archived files in the search. |
Date From To | Specifies the time period in which the events you want displayed are generated. A calendar allows you to select the year, month, day, and time. It also allows you to select the local time. By default, the messages generated in the last one hour are displayed. To shows the current date and time, and Date From shows the time one hour before end time. | To specify the time period:
To select the current time as the start time, select Local Time. |