Changing report retention

Ops Center Analyzer Detail View User Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA007-06
ft:lastEdition
2026-03-16

The Report Scheduler retains generated reports for specific days. However, you can change these retention days by adding the properties in a property file.

Retention depends on the frequency of the schedule.
  • One Time: 8 days
  • Daily: 8 days
  • Weekly: 35 days

To change these values, do the following.

  1. Log on to the Analyzer detail view server through an SSH client (like putty) as a root user.
  2. Stop the crond service and verify the status with these commands:
    service crond stop
    service crond status
  3. Stop the megha service and verify the status with these commands:
    /usr/local/megha/bin/megha-jetty.sh stop
    /usr/local/megha/bin/megha-jetty.sh status
  4. Take a backup of custom.properties file:
    cp /usr/local/megha/conf/custom.properties /usr/local/megha/conf/bkp_custom.properties_bkp
  5. Open the custom.properties file:
    /usr/local/megha/conf/custom.properties
  6. Add the following properties with the desired retention days at the end of the custom.properties file, and save the file:
    • schedule.oneTime.export.report.retention.policy.time.in.days=15
    • schedule.daily.export.report.retention.policy.time.in.days=10
    • schedule.weekly.export.report.retention.policy.time.in.days=60
  7. Start the megha service and verify the status with these commands:
    /usr/local/megha/bin/megha-jetty.sh start
    /usr/local/megha/bin/megha-jetty.sh status
  8. Start the crond service and verify the status with these commands:
    service crond start
    service crond status