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
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...