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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...