Sending Periodic Stats Logger metrics to Splunk with the Splunk Universal Forwarder
Use the Splunk Universal Forwarder to monitor the logs/dsstats.json file and forward the metrics to Splunk.
Before you begin
Steps
-
Under the Splunk Forwarder application files, update the
etc/apps/search/local/inputs.conffile with the following configuration fordsstats.json:[monitor:<server-root>/logs/dsstats.json] sourcetype=log2metrics_json index=<index-name> disabled=false host=<paz-host>
You can customize the index name and configure the host value to label where the metrics are being forwarded from.