--- title: "Viewing local log files" slug: "viewing-local-log-files" updated: 2026-08-24T20:40:11Z published: 2026-08-24T20:40:11Z canonical: "docs.trellix.com/viewing-local-log-files" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Viewing local log files You can view local log files from the managing Central Management appliance or from individual sensors or hybrid appliances and nodes. The log files contain information about all system activity. IVX cluster-specific log messages are only a part of the log file. You can filter the log files for only these messages. When you filter log files, the entries that match or do not match a specified regular expression are displayed. You can filter the output from the current log file, an archived log file, or all log files. You can also specify which new entries from a continuous log should be displayed. When you filter all log files, the output is presented in a single view. The entries are displayed in forward chronological order, based on the last modification date. > [!WARNING] > Caution > > When you filter all log files, the results are not displayed until all entries in all log files are processed. A progress bar indicates the status of the processing. Because the volume can be high with this option, be careful with your choice of regular expression. For information about managing local logs, see the log management sections in the *System Administration Guide* or *Administration Guide* for the appliance and the *CLI Command Reference*. **Prerequisites** - Auditor, Operator, or Admin access ##### Filtering log output using the Web UI Use the **Log Management** page of the sensor, hybrid appliance, or Central Management appliance to generate log files and download them. You can then search the log files for IVX cluster-specific messages, as described in this section. ###### Generate a log file: 1. Log in to the appliance Web UI. 2. Click the **About** tab. 3. Click **Log Manager**. 4. Click **Selected logs**. All categories are selected by default. 5. Select or clear checkboxes to specify the categories you want to include in the logs. 6. If a drop-down list is present, select the time period the log should cover. The default is **Today**. The other options are **Past week**, **Past 2 weeks**, and **Past month**. 7. Clear the **Password-protect generated log archive** checkbox. > [!WARNING] > Important > > If this checkbox is selected, you will be unable to open the files. 8. Click **Create**. A status message is displayed while the log is being created. ###### Download a log file to your local file system: 1. Locate the log file archive in the **Log Archives** section. 2. Click the icon in the **Action** column, and then select **Download**. The log archive is downloaded to your local file system. The archive name begins with the hostname of the appliance. ###### Filter the log output: 1. Locate the file and open it in a text editor or program of your choice. 2. Search for the keywords of interest (for example, *enrollment* or *token*). ##### Filtering log output using the CLI Use the commands in this section to use regular expressions to filter the log display to include only IVX cluster-specific information. ###### To filter the active log: 1. Enable the CLI enable mode: ``` hostname > enable ``` 2. To display only the lines that match a regular expression: ``` hostname # show log matching ``` 3. To display only the lines that do not match a regular expression: ``` hostname # show log not matching ``` ###### To filter an archived log: 1. Enable the CLI enable mode: ``` hostname > enable ``` 2. List the logs: ``` hostname # show log files ``` 3. To display only the lines in an archived log that match a regular expression: ``` hostname # show log files matching ``` where `<number`> is the number of the file in the list of log files. 4. To display only the lines in an archived log that do not match a regular expression: ``` hostname # show log files not matching ``` ###### To filter the new lines as they are added in real time: 1. Enable the CLI enable mode: ``` hostname > enable ``` 2. To start printing only the new lines in the active log that match a regular expression: ``` hostname # show log continuous matching ``` 3. To start printing only the new lines in the active log that do not match a regular expression: ``` hostname # show log continuous not matching ``` ###### To filter all logs: 1. Enable the CLI enable mode: ``` hostname > enable ``` 2. To view only the lines in all logs that match a regular expression: ``` hostname # show log files all matching ``` 3. To view only the lines in all logs that do not match a regular expression: ``` hostname # show log files all not matching ```