By default, the PingDirectory server's built-in Stats Logger is disabled. To enable the Stats Logger:
-
Run dsconfig in interactive mode.
When you are prompted, enter the LDAP or LDAPS connection parameters.
$ bin/dsconfig
-
To change to the
Advanced Objects
menu, enter o. -
On the main menu, enter the selection for
Plugins
. -
On the
Plugin
menu, enter the selection forView and edit an existing plugin
. -
From the
Plugin
selection list, enter the selection forStats Logger
. -
On the
Stats Logger Plugin
menu, enter the selection to set theenabled
property toTRUE
. 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 toFALSE
. -
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.
-
View the Stats Logger output at
<server-root>/logs/dsstats.csv.
You can open the file in a spreadsheet.