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

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...