---
title: Configuring Splunk to receive StatsD metrics
description: Configure the Splunk dashboard to receive PingDirectory StatsD metrics over a UDP data input with the statsd source type.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_config_splunk_receive_statsd_metrics
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_config_splunk_receive_statsd_metrics.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring Splunk to receive StatsD metrics

Splunk can be used to receive StatsD metrics.

## About this task

Run the following commands to configure Splunk to receive StatsD metrics.

## Steps

1. Sign on to your Splunk dashboard at `http://your-splunk.example.com:8000`.

2. Go to **Settings** > **Data Inputs**.

3. Under Local inputs, click **UDP**.

4. Click **New Local UDP**.

5. Enter the following information: `Port:``8125`

6. Click **Next**.

7. Set `Source type` to **Metrics** > **statsd**.

8. Create a new `metrics` index for the input. Make a note of the index name you choose.

9. Set the `App Context` to `PingDirectory App for Splunk`.

10. Click **Review**.

11. Click **Submit**.

    |   |                                                                                                                                                                                                                                                                                                                                                                                  |
    | - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    |   | 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 |
