How to change the number of days displayed in Analytics

book

Article ID: 210670

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

The number of days displayed in analytics is based on the setting '<collector>.initial_collect_before_now_days' in the application.properties file but what if you wanted to add more days? Updating this value and restarting analytics doesn't change the number of days that are visible. What can be done to increase this value?

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Analytics/ANOP_Admin/Aaas_collector_configuration_ref.htm?Highlight=initial_collect_before_now_days

Resolution

1. Uninstall existing postgres database used by analytics

2. Re-install postgres based on the documentation below:
Windows:
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Analytics/ANOP_Install/Aaas_setup_datastore_windows.htm?

Linux:
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Analytics/ANOP_Install/Aaas_setup_datastore_linux.htm?

3. Update application.properties file with a new value for <collector>.initial_collect_before_now_days=