Knowledge Management

How to tell if Splunk is dropping packets?

rmcdougal
Path Finder

Simple question, We are forwarding a large amount of traffic to our indexer on port 514 and want to know if any packets are being dropped. Is there any easy way to do this? We are running our indexer on Windows 2008 R2

Tags (1)
0 Karma

jonuwz
Influencer

netstat -s

There's a line for 'Received Packets Discarded'

This is an indicator that the application isn't reading the traffic fast enough, the buffers are filling, and the kernel is discarding the extra packets.

disclaimer - i'm not on a windows machine at the moment, I cant remember if this covers udp packets on windows - it does on unix.

experiment with some of the other nestat options (keeping -s) to limit it to udp (maybe -p udp )

0 Karma

Drainy
Champion

Well they could be dropped before Splunk event knows about them assuming you're using UDP. Only sure way to tell would be to run a packet capture on either end.

In terms of Splunkyness, if its internal queues block far enough back it can cause it to drop packets as it cannot accept them. Easiest way to tell is to run a search for

index=_internal *blocked*

The best way would be to install the Splunk on Splunk (SoS) app though 🙂 Its excellent, it provides dashboards for all diagnostic purposes so you can monitor for problems.

If you are worried about data not arriving then you'd be better off using syslog over TCP or just installing a Splunk Universal Forwarder and sending it through that.

Get Updates on the Splunk Community!

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

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