Splunk Search

Is the duration field always in seconds? (transaction command)

msarro
Builder

Greetings everyone,
I just want to verify that the transaction generated duration field is always in seconds. it doesn't say definitively in the transaction guide. The examples below allude to it being in seconds, but I'm not entirely sure. Any advice would be helpful, thanks!

Tags (1)
0 Karma
1 Solution

dwaddle
SplunkTrust
SplunkTrust

Yes, it is always seconds. But, it could be a floating point value for partial seconds if you have subseconds in your timestamps.

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

Yes, it is always seconds. But, it could be a floating point value for partial seconds if you have subseconds in your timestamps.

msarro
Builder

Thanks, that's exactly what I needed to know!

0 Karma

Justin1224
Communicator

Would a condition of duration>300,000,000 make sense, seeing as how that is 9.5 years? Splunk ships with certain pre-built queries for ES, and one of them had that condition. The query was titled 'Long Lived Connections' but that sort of seems ridiculous to me. I know this question is old but it seems the most relevant and I would hate to open a whole new question if I can get a quick answer here.

Thank you!

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...