Configuring the Periodic Stats Logger - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

The PingDirectory server can log various metrics, including LDAP operation counts and GC activity, to a JSON-formatted log.

To configure the PingDirectory server to log to a JSON-formatted log file with various metrics, including LDAP operation counts and GC activity, run the following command. The metrics will be written to logs/dsstats.json in the server root.
dsconfig set-plugin-prop \
					--plugin-name "Stats Logger" \
					--set enabled:true \
					--set log-file:logs/dsstats.json \
					--set log-file-format:json \
					--set local-db-backend-info:extended \
					--set header-prefix-per-column:true \
					--set empty-instead-of-zero:false \
					--set per-application-ldap-stats:per-application-and-aggregate