Getting Data In

How do I debug inbound syslog that isn't getting indexed by Splunk?

danfein
New Member

Hi I currently have tried a lot of things but can't seem to get the data into Splunk.

I have a server sending syslog messages to my desktop.
The connection is seen on wireshark/tcpdump, so that's successful.
I have set up Add Data via Monitor for TCP 514.
I have tried a blank search and one for index=* and nothing is showing up in Splunk.
There is no intermediary device between the syslog sender and our Splunk desktop.

Any idea what could be the problem with the syslog?

Tags (4)
0 Karma

jkat54
SplunkTrust
SplunkTrust

Is splunk able to bind to the port? netstat -an will work in windows and linux command line and it will show if 0.0.0.0:514 is LISTENING or not.

Sometimes its shown as *:514, or [YOUR_IP_ADDRESS]:514

If splunk is running on linux, it needs root permission to bind to 514. Try using 5514 instead of giving splunk root permissions.

0 Karma

danfein
New Member

Hi jkat,

Yes it does seem to be binding. Still no luck. Any other thoughts here?

netstat -an | grep 514
tcp 0 0 0.0.0.0:5514 0.0.0.0:* LISTEN

tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN

0 Karma

jkat54
SplunkTrust
SplunkTrust

How much data have you tested with? There is a queue on tcp/udp inputs that doesnt flush to disk until it fills.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...