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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...