Page created: 15 Jul 2022 |
Page updated: 20 Jan 2023
Splunk can be used to receive StatsD metrics.
Run the following commands to configure Splunk to receive StatsD metrics.
Log in to your Splunk dashboard at
- Go to Settings > Data Inputs.
- Under Local inputs, click UDP.
- Click New Local UDP.
Enter the following information:
- Click Next.
- Set Source type to Metrics > statsd.
- Create a new metrics index for the input. Make a note of the index name you choose.
- Set the App Context to PingDirectory App for Splunk.
- Click Review.
Note: StatsD metrics are typically sent over UDP. Using UDP, the client sending metrics does not have to block as it would if using TCP. However, using TCP guarantees order and ensures no metrics are lost. To more securely send metrics to Splunk, you can first send your StatsD metrics to a Splunk Universal Forwarder, and have the forwarder communicate with Splunk over SSL