Splunk Search

Time Duration between each session

rajgowd1
Communicator

Hi,
we have few micro services which are running on pivotal.i would like find the time duration from starting to end flow based on session id.

i got few values for 1 minute duration,which has the same session id but different end points and micro services.

attaching the file which has some fields and values.
link text

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

Give this a try

your base search | stats min(_time) as start max(_time) as end by cf_session_id | eval duration=end-start | convert ctime(start) ctime(end) | eval duration=tostring(duration,"duration")

View solution in original post

0 Karma

somesoni2
Revered Legend

Give this a try

your base search | stats min(_time) as start max(_time) as end by cf_session_id | eval duration=end-start | convert ctime(start) ctime(end) | eval duration=tostring(duration,"duration")
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...