Configuring the retention period for audit trail history data

Use this information to configure the retention period for audit trail history information. All the data is stored in PostgreSQL database that is available as a separate service in Telco Network Cloud Manager - Performance. Information from the database is also displayed in the Resource type instance history window on the Resource management configuration page.

About this task

By default, the following settings are applicable for retaining the audit history:
audit.trail.retention.day=365   
Where, audit.trail.retention.day is the number of days the data is retained in the database.

If you want to customize these values, follow these steps to update the common config map:

Procedure

  • Follow these steps on OpenShift® Container Platform:

    1. Log in to your cloud platform web console.
    2. Make sure you are in the correct project where you installed Telco Network Cloud Manager - Performance.
      For example, noi or tncp project.
    3. Go to Workloads > Config Maps > common.
    4. Click the YAML tab and enter the following line and update the default value of 365 days to a value of your choice:
      audit.trail.retention.day=120
    5. Restart the app Service.
  • Follow these steps on Kubernetes cloud platform:

    1. Log in to your cloud platform web console.
    2. Make sure you are in the correct project where you installed Telco Network Cloud Manager - Performance.
      For example, noi project.
    3. From the left navigation pane, select Config and Storage > Config Maps > common.
    4. Click the YAML tab and enter the following line and update the default value of 365 days to a value of your choice:
      audit.trail.retention.day=120
    5. Restart the app Service.