Splunk Search

Splunk indexes some events several times?

cfortune
Explorer

In some of our indexed logs, I'll see several log entries for the same log at the same time. I thought this may be an issue with the log file itself but I just checked and sure enough, there aren't several of the same event from the same time in there. Any idea what could be causing this?

Here is a screen shot.

The number 11196 is a unique id associated with that particular log in. As you can see, it's the same for all 10 results shown. If someone really logged in that fast, they'd have different id's there. There is an 8 hour timezone offset applied to these logs as well. Don't know if that has anything to do with it.

Also, these logs are indexed via a cifs mount on the Splunk server.

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

There are applications that, in addition to adding log entries to the end of the file, will also rewrite some data at the beginning. If yours does this, then each time it writes, it will make Splunk think the entire file is new (since the beginning of the file has changed) and the entire file will be re-indexed.

dwaddle
SplunkTrust
SplunkTrust

Try putting a Splunk forwarder on the machine which holds this data, and let the forwarder read the file locally and then forward the events on to the indexer.

I don't use CIFS, but I have seen some similarly odd events indexing over NFS - the application's buffer flushing behavior combined with the timing of the NFS reads would cause some odd behaviors that we eliminated using a forwarder.

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...