To search log files in a path
Purpose
Use this procedure to perform a search on all log files in a specified path using a plain text search or a regular expression.
Note: You can test regular expressions in the Find In Path window by clicking Test beside the expression. Enter sample text in the Example box, and an expression in the Expression box, then click on the green Execute button to test the results of the expression.
Steps
1 |
Open the LogViewer GUI. |
2 |
Choose Edit→Find In Path from the LogViewer main menu, or click Search all files. The Find In Path window opens. |
3 |
Perform one of the following:
|
4 |
In the Directory parameter, enter the directory path you need to search, or click Browse and select a directory. To search subdirectories, select the Recursive option. |
5 |
To restrict the search to logs with certain filenames, enter a regular expression in the File Mask parameter. To search all logs in the specified path, leave this parameter blank. |
6 |
Click Find. The log entries matching the search parameters are displayed in a new tab. Note: A new search using the Find In Path function cannot be performed until the search tab is closed. End of steps |