Getting Data In

How to establish the latency of Indexing within Splunk cloud?

ChaoticMike
Explorer

Hello,

For solid reasons that I can't go into here, we have a topology of...
AWS CloudWatch-> Kinesis Firehose -> AWS Delivery Stream Object ->AWS Lambda ->HEC listener on a Heavy Forwarder ->  That Heavy Forwarder -> Another Heavy Forwarder -> Splunk Cloud.  I'm pretty sure that (apart from having 1 HF forward to a second before hitting Splunk Cloud), that is the reference architecture for CloudWatch events.

There is no Splunk indexing going on in our infrastructure.  We are just forwarding loads of information to Splunk Cloud for indexing and analysis there.

We can establish latency through most of that chain, but we are interesting in determining the latency from when our events land in Splunk Cloud, to those events being visible for analysis.  Is there a handy metric or query we can re-use?

Thanks in advance...

Labels (2)
Tags (1)
0 Karma
1 Solution

ChaoticMike
Explorer

Booo!   But thank you for the answer, it wil lsave me looking for a thing that doesn't exist!

View solution in original post

0 Karma

ChaoticMike
Explorer

Booo!   But thank you for the answer, it wil lsave me looking for a thing that doesn't exist!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ChaoticMike,

if you can, please vote for this idea at https://ideas.splunk.com/ideas/EID-I-1731

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ChaoticMike,

in Splunk you have:

  • _time that's the event timestamp,
  • _indextime that's the time whe the event is indexed.

so you could calculate a difference between these two fields:

index=*
| eval diff=_indextime-_time 
| stats 
   avg(diff) AS diff_avg 
   max(diff) AS diff_max 
   min(diff) AS diff_min 
   BY index

Ciao.

Giuseppe

0 Karma

ChaoticMike
Explorer

Thanks Giuseppe.  Our problem is we aren't sure if our latency is in the forwarding chain, or within Splunk Cloud.  We can indeed determine the end-to-end latency, but we are trying to drill into each hop.  Does anyone know of a way to do that?  It sounds... 'tricky'!

 

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ChaoticMike,

there isn't a track of steps (I asked this on Splunk Ideas), so you can calculate only the global latency.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...