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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...