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.
- Log on to the Analyzer detail view server through an SSH client (like putty) as a root user.
- Stop the crond service and verify the status with these commands:
service crond stop
service crond status
- 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
-
Take a backup of custom.properties file:
cp /usr/local/megha/conf/custom.properties /usr/local/megha/conf/bkp_custom.properties_bkp
-
Open the custom.properties file:
/usr/local/megha/conf/custom.properties
-
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
- 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
- Start the crond service and verify the status with these commands:
service crond start
service crond status