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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...

Index This | What has many keys but can’t unlock a door?

July 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...