Splunk Search

How to create a query that coverts a number into minutes hours and days?

Talking_Master
Explorer

I am getting a value from my data that a number buts actually the duration how do I convert into minuets hours and days. 

 

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval duration_field = tostring(number_field_in_seconds, "duration")
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

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

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

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