--- title: "To filter an archived log:" slug: "to-filter-an-archived-log" tags: ["Product Usage", "IVX Cloud", "Sec Ops and Analytics"] updated: 2026-09-04T14:05:43Z published: 2026-09-04T14:05:43Z canonical: "docs.trellix.com/to-filter-an-archived-log" --- > ## 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. # 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** hostname # **show log files** **matching** where 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** :