Configure syslog purging interval

Syslog is a standard protocol for logging. It has two components: the Syslog auditing module, which runs on the Citrix Application Delivery Controller (Citrix ADC) instance, and the Syslog server, which can run either on the underlying FreeBSD operating system (OS) of the Citrix ADC instance or on a remote system. SYSLOG uses User Datagram Protocol (UDP) for data transfer.

Syslog enables isolation of the system that generates information and the system that stores the information. You can consolidate logging information and derive insights from the collected data. You can also configure syslog to log different types of events.

To limit the amount of syslog data stored in the database, you can specify the interval at which you want to purge syslog data.  You can specify the number of days after which the following syslog data will be deleted from Citrix Application Delivery Management (Citrix ADM):

  • Generic Syslog Data
  • AppFirewall Data
  • Citrix Gateway Data

You can also configure the Citrix Gateway purge interval by syslog type. This purge interval takes precedence over the purge interval configured to retain Citrix Gateway data.

To configure syslog purge interval settings for Citrix ADM:

  1. Navigate to System > System Administration. Under Instance Settings, click Syslog Purge Settings.
  2. In Configure Syslog Purge Settings page, enter the following details:
    • Retain Syslog Generic Data -  Specify the number of days for which Citrix ADM retains generic syslog messages.
    • Retain AppFirewall Data – Specify the number of days for which Citrix ADM retains AppFirewall syslog messages.
    • Retain NetScaler Gateway Data – Specify the number of days for which Citrix ADM retains Citrix Gateway syslog messages.
  3. Select the Configure NetScaler Gateway Purge Interval by Syslog Type checkbox if you want this to take precedence over the purge settings interval configured to retain the Citrix Gateway data.
  4. Select one or more of the following options:
    • Type - The type of Citrix Gateway syslog types generated on the devices, such as Login, Logout, Login failed, ICA proxy session start, and others. Select the type for which you want syslog data deleted from the Citrix ADM server.
    • Purge Interval (Days) - The time interval between two successive purge operations performed on syslog data.
  5. Click OK.

    localized image

Configure syslog purging interval

In this article