6.2.3.2. show

6.2.3.2.1. Introduction

The show retention-periods command of the services subgroup enables displaying the retention periods for GCap files.
At the end of this retention period, the files are deleted from the GCap.
These values can be configured from the GCap variables section on the GCenter.

List of retention periods:

  • unsent files: rebuilt files not transmitted to the GCenter.

The default value is 1296000s or 15 days.

  • sent files: rebuilt files transmitted to the GCenter.

The default value is 86400s or 24 hours.

  • eve files: the eve logs.

The default value is 1296000s or 15 days.


6.2.3.2.2. Prerequisites

  • Users: setup, gviewadm

  • Dependencies: N/A


6.2.3.2.3. Command

services show retention-periods


6.2.3.2.4. Example of displaying the value of the retention periods

  • Enter the following command.

    (gcap-cli) services show retention-periods
    
  • Validate.

    The system displays the current values.

    Current file retention periods:
      - unsent files: 1296000
      - sent files: 86400
      - eve files: 1296000
    

    Note

    Periods are expressed in seconds.