Dashboards & Visualizations

How do you calculate response time for events by field?

rohinisb91
Observer

Hi,

I have logs in the following format:

2018-10-31 16:00:00 START : run() for ruleId=xyz
2018-10-31 16:00:57 END : run() for ruleId=xyx

I want to plot a chart indicating the response times by ruleId. Any help is appreciated.

0 Karma
1 Solution

renjith_nair
Legend

@rohinisb91 ,
Try

index="your search" "START" OR "END"|stats range(_time) as difference by ruleId
---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

0 Karma

renjith_nair
Legend

@rohinisb91 ,
Try

index="your search" "START" OR "END"|stats range(_time) as difference by ruleId
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

rohinisb91
Observer

Thank you!

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...