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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...