Getting Data In

metrics statsd

asabatini23
Explorer

Hi,

I configured my statsd deamon and splunk to the same instance, I configured the stats deamon on the port 8125.

When I try to configure the UDP input on splunk I received this message:

Parameter name: UDP port 8125is not available.

why

Tags (2)
0 Karma

13tsavage
Communicator

What steps are you doing to configure your statsd daemon input? Have you got splunk installed and running before setting up your input?

0 Karma

asabatini23
Explorer

Yes, my splunk is up and works fine, also my statsd deamon works fine because receive metrics from mother hosts, only the input on splunk doesn't works, I understand the statsd and splunk use the same port but I only follow the documentation.

https://docs.splunk.com/Documentation/Splunk/8.0.1/Metrics/GetMetricsInStatsd

0 Karma

13tsavage
Communicator

So this error is appearing when you attempt to add the UDP port 8125 monitor input. I am assuming that UDP port is being used by statsd as you had stated. From the error, it sounds like splunk is trying to use udp port 8125 instead of monitor.

Have you tried adding a udp stanza to an inputs.conf file directly?

Give this a try. See Configure a UDP input in Get data from TCP and UDP ports. It is best practice to create a new app in /etc/apps for this new data source, but just try adding that [udp://..] stanza to $SPLUNK_HOME/etc/system/local/inputs.conf. After you add the stanza make sure to restart splunk, and check if that works.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...