Getting Data In

Splunk not receiving syslog messages

jslater
Engager

Hi All,

I've installed Splunk on a Windows 2008R2 server and am trying to get it to receive syslog messages on the default UDP 514 port. Adding this in via Data Inputs results in "UDP port 514 is not available" which I have seen means it's already pre-defined, and is backed up by messages in the log:

10-02-2013 13:37:38.017 +0100 ERROR AdminManager - Parameter name: UDP port 514 is not available.
10-02-2013 13:50:30.488 +0100 INFO TcpInputConfig - IPv4 port 514 is reserved for raw input

However, Splunk is not receiving anything over this port. I have confirmed this is open/working by downloading another open source syslog receiver on the same server, & this is quite happily receiving syslog messages from my test clients.

Similar questions posed have all been Linux related, is there anything special that needs to be done on a Windows server?

Thanks.

Tags (4)

dwaddle
SplunkTrust
SplunkTrust

Various things on the internet suggest that Windows XP SP2 and newer may actually be sane and require certain privileges to be able to a bind/listen on a port < 1024. Does the user running the Splunk service have administrative privileges on the server?

0 Karma

jslater
Engager

Thanks for the quick response, I only see:

[System]
UDP 0.0.0.0:514 :
Splunkd

Strangely, I could add it via the command line with:

C:\Program Files\Splunk\bin>splunk add udp 514 -sourcetype syslog
Listening for UDP input on port 514.

C:\Program Files\Splunk\bin>splunk list udp
Listening for input on the following UDP ports:
514
51414

And the port appears in the GUI. If I then delete from the GUI I can then re-add it - odd!

0 Karma

sdaniels
Splunk Employee
Splunk Employee

Sounds like port 514 is already in use on the windows server. Can you validate ports in use by which processes via netstat -b -a.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...