The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Configuring log rotation for specific types of log files

Prev Next

This topic describes how to enable and configure file-based log rotation for audit logs and login history logs on the IVX appliance. You can rotate these log files at a specified period of time, when they reach a specified file size, or when they take up a specified percentage of disk space. Configuring the criteria for individual file types overwrites the global configuration. For a full list of logging commands and their usage and parameters, see the CLI Command Reference.

Prerequisites
  • Admin access

To enable and configure file-based log rotation:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enable the rotation feature for the specified file type:

    hostname (config) # logging files rotation file-type {audit | login-history} criteria enable
  3. Specify either the frequency or file size at which a new log is created:

    hostname (config) # logging files rotation file-type {audit | login-history} criteria {frequency {daily | monthly | weekly | yearly} | size <megabytes> | size-pct <percentage>}