In vRealize Automation, the Active Directory Sync logs go back only a couple days.

Problem

After two days, Active Directory Sync logs disappear from the management interface. Folders for the logs also disappear from the following vRealize Automation appliance directory.

/db/elasticsearch/horizon/nodes/0/indices

Cause

To conserve space, vRealize Automation sets the maximum retention time for Active Directory Sync logs to three days.

Procedure

  1. Log in to a console session on the vRealize Automation appliance as root.
  2. Open the following file in a text editor.

    /usr/local/horizon/conf/runtime-config.properties

  3. Increase the analytics.maxQueryDays property.
  4. Save and close runtime-config.properties.
  5. Restart the identity manager and elastic search services.
    service horizon-workspace restart
    service elasticsearch restart