--- title: "Viewing log rotation configuration using the CLI" slug: "viewing-log-rotation-configuration-using-the-cli" tags: ["Endpoint Security (HX)", "Product Usage"] updated: 2026-09-23T17:25:03Z published: 2026-09-23T17:25:03Z canonical: "docs.trellix.com/viewing-log-rotation-configuration-using-the-cli" --- > ## 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 log rotation configuration using the CLI This topic describes how to view file-based log rotation configuration for various types of log files on the Endpoint Security (HX) appliance. You can view the configuration details for the following file types: - audit - eventd - events - fireeyedb - lms_production - login-history - perfmon - syslog - weblogs - all For a full list of logging commands and their usage and parameters, see the *CLI Command Reference*. Prerequisites - Admin access To view file-based log rotation configuration: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Specify the file type and view the log rotation configuration: ``` hostname (config) # show logging-filewise ``` :