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
dsconfigin interactive mode.When you are prompted, enter the LDAP or LDAPS connection parameters.
Example:
$ bin/dsconfig -
To change to the
Advanced Objectsmenu, entero. -
On the main menu, enter the selection for
Plugins. -
On the
Pluginmenu, enter the selection forView and edit an existing plugin. -
From the
Pluginselection list, enter the selection forStats Logger. -
On the
Stats Logger Pluginmenu, enter the selection to set theenabledproperty 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-idleproperty toFALSE. -
Run the PingDirectory server.
Example:
For example, if you are running in a test environment, you can run the
search-and-mod-ratetool 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.