Getting Data In

Why are Windows Event Logs sent and indexed every half hour?

mmccul
SplunkTrust
SplunkTrust

Our domain controllers were resending the entire Windows EventLog every 30 minutes. No duplicate inputs entries. No duplicate outputs entries. Using a search like

host=foohost index=bar_index earliest=-1h | 
convert ctime(_indextime) | 
convert ctime(_time) | 
stats count list(host) list(splunk_server) list(_time) list(_indextime) by _raw 

would display multiple indexings of the exact same _raw message, even the timestamp. Adjusting the earliest parameter showed that it happened every 30 minutes.

We encountered this on Splunk 6.5.1

We tried a fresh re-install of the forwarder, no change.

We tried inspecting the checkpoint file, but it wasn't corrupt or anything.

0 Karma
1 Solution

mmccul
SplunkTrust
SplunkTrust

After much debugging with Splunk support, we determined that having

start_from=newest

in our configs was a primary cause of the behavior. Disabling that directive on the inputs, going back to the default

start_from = oldest

eliminated the issue immediately. Hopefully this helps others.

View solution in original post

mmccul
SplunkTrust
SplunkTrust

After much debugging with Splunk support, we determined that having

start_from=newest

in our configs was a primary cause of the behavior. Disabling that directive on the inputs, going back to the default

start_from = oldest

eliminated the issue immediately. Hopefully this helps others.

abalogh_splunk
Splunk Employee
Splunk Employee

Hi,
- Is the sourcetype the same? WMI enabled? Possible some other host is doing WMI collection? sourcetype would tell you that.
- If you disable inputs.conf will you still get logs?
- Check metrics.logs
- How was the UF installed? CLI installation with WINEVENTLOG_SEC_ENABLE=0 WINEVENTLOG_SYS_ENABLE=0 ?

I hope this help you debugging the issue!

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...