Splunk Enterprise

duplicate events, multiple indexed times

willsy
Communicator

hello, 

i am monitoring windows event logs and ingesting them to my indexers, the issue is that even with a unique EventRecordID i am seeing multiple events in Splunk, sometimes up to 28. 

second to that, when i complete the two searches in the picture i can see that the same event is being indexed multiple times (14) between 13:33:31 and 13:36:00

any help on how to rectify this issue is greatly appreciated. 

please see attached the two searches showing multiple indexed results and also multiple indexed times. 

Paste 1.PNGpaste 2.PNG

Labels (2)
0 Karma

codebuilder
Influencer

Are your log files being rotated, such as to zip files? Duplicate events such as this can happen if log files are rotated, renamed, or compressed. Splunk will see those as new files and ingest them, unless you explicitly blacklist them.

Try adding source to your search to see what files the events are coming from.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

mani1
New Member

How to resolve the issue if logs are rotated or compressed. How to blacklist them? 

Splunk is ingesting duplicate events in my org.

 

Help me how to fix issue if logs are rotated or compressed.

Highly appreciate your help.

0 Karma

willsy
Communicator

Hey codebuilder, 

the source is in the second pic, it shows all source and sourcetypes are the same for all dupicates. 

i am using the standard windows app, there is no log rotating or zip as it is purely the windows events being monitored. 

0 Karma

codebuilder
Influencer

That pic doesn't include the actual source file.

Try running the following:

|tstats count where index=windows_event_log by source

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

willsy
Communicator

Good morning, 

So if i did your search without specifically asking for that EventRecordID i have the three sources 

XmlWinEventLog:Application
XmlWinEvenLog:Security
XmlWinEventLog:System

If however i do the same with that specific EventRecordID it is only aligned to source;
XmlWinEventLog:Security

Which means that it is coming from only one source. 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...