Splunk Search

Why isn't syslog data being indexed by Splunk configured to listen through UDP port?

SalimRahmani
Explorer

Hello,

I've written a script in python that forwards Syslog to a remote server. For testing, it's just my second laptop. On this second one, I've checked using tftp and wireshark tools to see whether the syslog is received or not. It is! However, when I configure splunk to receive the syslog data by listening to a UDP port (default 514 or sometimes i changed it) I have nothing indexed though I receive no error.

I'd be grateful if you could help me!
Thanks in advance,

Tags (4)
1 Solution

grijhwani
Motivator

The big problem with UDP is that it is fire and forget. There is no guarantee of delivery. Do you even know, for sure, that the syslog traffic is reaching the indexer and isn't blocked by firewall or something?

View solution in original post

grijhwani
Motivator

The big problem with UDP is that it is fire and forget. There is no guarantee of delivery. Do you even know, for sure, that the syslog traffic is reaching the indexer and isn't blocked by firewall or something?

Ayn
Legend

Check local firewall rules. Wireshark/tcpdump will pick up this traffic even if it is then blocked by iptables, so it will look fine even though the traffic is not making it to Splunk.

SalimRahmani
Explorer

Thank you so much Ayn! It was the firewall actually.

0 Karma

SalimRahmani
Explorer

Hi guys,

Thank you so much for your answers! Actually, it was my firewall that Splunk couldn't index. So I created a new rule in the inboud firewall. Now it works perfectly!

Thanks again!

Get Updates on the Splunk Community!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...