By default, the PingDirectory server's built-in Stats Logger is disabled. To enable the Stats Logger:

  1. Run dsconfig in interactive mode.

    When you are prompted, enter the LDAP or LDAPS connection parameters.

    $ bin/dsconfig
  2. To change to the Advanced Objects menu, enter o.
  3. On the main menu, enter the selection for Plugins.
  4. On the Plugin menu, enter the selection for View and edit an existing plugin.
  5. From the Plugin selection list, enter the selection for Stats Logger.
  6. On the Stats Logger Plugin menu, enter the selection to set the enabled property to TRUE. To save and apply the configuration, enter f.
    The default logger logs information about the server every second to <server-root>/logs/dsstats.csv. If the server is idle, nothing is logged.
    Note:

    To change the idle logging behavior, set the suppress-if-idle property to FALSE.

  7. Run the PingDirectory server.

    For example, if you are running in a test environment, you can run the search-and-mod-rate tool to apply some searches and modifications to the server.

    Tip:

    To see an example command, run search-and-mod-rate --help.

  8. View the Stats Logger output at <server-root>/logs/dsstats.csv.

    You can open the file in a spreadsheet.