Splunk Search

How to calculate response time for this particular event ?

karthi2809
Builder

How to calculate response time for this particular event ?

I used to transaction command to club the data for same transid .How to find response time for this event

index=test_prod | transaction transid

[2017-10-13 05:28:03,451][LOG ][WARN ] transid=150788451; Path=Q; OperationName=DL; RequestPayload=U-165566193; CaptureLocation=Request
[2017-10-13 05:28:03,479][LOG ][WARN ] transid=150788451; Path=Q; OperationName=DL; TransactionStatus=SUCCESS; CaptureLocation=Response

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi karthi2809,
when you use the transaction command, you always have an additional field called "duration" that calculates the difference betweeen the latest and the earliest event in each transaction.
Is this the "response time" you want?
Bye.
Giuseppe

0 Karma
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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...