Getting Data In

Why is the latest indexed data from our domain controllers showing 120 minutes old Windows security logs ?

pavankumarh
Path Finder

Hi,

We have the same app deployed on multiple Domain Controllers. On some DC's, the data indexed in Splunk is older by 2.5 Hours or so. Though the DC has latest entries in Event Log, they appear in Splunk (6.1.8) only after a certain duration of time.

We have tried upgrading the forwarder version, and also configuring thruput in limits.conf, but doesn't work.

Please help.

0 Karma

woodcock
Esteemed Legend

The problem is almost certainly not a genuine lag, but an interpreted one. In other words, Splunk is timestamping events 2.5 hours into the future so that you only see them 2.5 hours later. This is almost always a TZ issue (although occasionally it is due to clock drift). You can see for yourself with this search:

index=* | eval date_zone=coalesce(date_zone,"none") | eval prev_sourcetype=if(sourcetype=$_sourcetype$,"none",_sourcetype) | dedup date_zone splunk_server index host sourcetype timestamp prev_sourcetype | eval lagSecs=_time-_indextime

Anything with lagSecs<0 is a huge problem because such a thing is impossible and must be due to a bad timestamp (or interpretation thereof).

0 Karma

pavankumarh
Path Finder

Hi Woodcock.. Thank You for your response, as said by you I see that lagsecs=-1 and lagsecs=-2 for some events. To Troubleshoot the time zone issues, we tried defining time zone in the props.conf ( TZ=Asia/Calcutta) file @ \SUF\Input_app\local\ on the host. But we didn't see any improvements. Please suggest if you know the possible fix.

0 Karma

woodcock
Esteemed Legend

If lagSecs is that small (just a few seconds), then the problem is probably not TZ but rather clock drift. Are you using NTP on all of your Forwarders and Indexers and Search Heads? In any case, this is probably not your 120 minutes problem; if it was, you would have seen lagSecs have values around -7200 so I am unsure of what your original problem could be.

0 Karma
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!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...