Configuring the Splunk Universal Forwarder
You can use the Splunk Universal Forwarder to monitor the logs/dsstats.json
file and forward the metrics to Splunk.
About this task
The Splunk Universal Forwarder can be configured to monitor the logs/dsstats.json
file and forward the metrics to Splunk. Under the Splunk Forwarder application files, update the etc/apps/search/local/inputs.conf
file with the following configuration for dsstats.json
:
[monitor:///path/to/PingDirectory/logs/dsstats.json] sourcetype=log2metrics_json index=pdmetrics disabled=false host=pd1
The index name can be customized, and the host value can be configured to label where the metrics are being forwarded from.