PingAuthorize

Enabling the Periodic Stats Logger plugin

By default, the Periodic Stats Logger plugin is disabled. You can enable it using the PingAuthorize admin console or the dsconfig tool.

  • Admin console

  • dsconfig

Steps

  1. In the PingAuthorize admin console, go to Configuration > LDAP (Administration and Monitoring) > Plugin Root.

  2. Click Stats Logger.

  3. Select the Enabled checkbox.

  4. Click Save.

Steps

  1. Run dsconfig in interactive mode.

    $ bin/dsconfig
  2. When prompted, enter the LDAP or LDAPS connection parameters.

  3. In the main menu, enter o to change to the advanced objects menu.

  4. Enter the number corresponding to the Advanced menu.

  5. In the server configuration menu, enter the number corresponding to Plugin.

  6. In the plugin management menu, enter the number corresponding to View and edit an existing plugin.

  7. Enter the number corresponding to the Stats Logger.

  8. In the Periodic Stats Logger Plugin menu, enter the number corresponding to the enabled property.

    In this menu, you can also change the log file format from csv to json.

  9. Enter the number corresponding to Change it to the value: true.

  10. After you finish editing the logger properties, enter f to save and apply the configuration.

    The default logger records server metrics every second to <server-root>/logs/dsstats.csv. You can open this file in a spreadsheet or ingest it into external monitoring tools.