Getting Data In

Is this a correct way to measure AWS CloudTrail ingest lag?

esalesap
Path Finder

Using the following search, I'm seeing AWS CloudTrail ingest lag between 4 and 9 hours.

index=ibp_aws sourcetype=aws:cloudtrail*
| eval lag=round((_indextime - _time)/60,1)
| bin _time span=10m
| stats max(lag) AS xLagH min(lag) AS nLagH count by _indextime
| eval _time=_indextime
| timechart span=10m max(xLagH) min(nLagH) sum(count)

If the search is correct, any idea why AWS CloudTrail ingest would lag
like this? I'm on Splunk Enterprise 7.0.1 and Splunk_TA_aws 4.4.0.

laurenschwerdt
Explorer

Did you ever get an answer on this? 

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...