Page created: 15 Jul 2022 |
Page updated: 20 Jan 2023
You can use the Splunk Universal Forwarder to monitor the logs/dsstats.json file and forward the metrics to Splunk.
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.