Enabling the Stats Logger
About this task
By default, the PingDirectory server’s built-in Stats Logger is disabled. To enable the Stats Logger:
Steps
-
Run
dsconfig
in interactive mode.When you are prompted, enter the LDAP or LDAPS connection parameters.
Example:
$ bin/dsconfig
-
To change to the
Advanced Objects
menu, entero
. -
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, enterf
.Result:
The default logger logs information about the server every second to
<server-root>/logs/dsstats.csv
. If the server is idle, nothing is logged.To change the idle logging behavior, set the
suppress-if-idle
property toFALSE
. -
Run the PingDirectory server.
Example:
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.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.