Splunk Search

How to create a Time Chart for duration?

Talking_Master
Explorer

Hi looking to create a time chart that has duration on the y axis and start date on the x-axis. The Y- axis is in hours and the x-axis is the start dates for the last ten days.   

I am new to Splunk so don't really know to do it. 

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

What have you tried so far?

Assuming you have calculated the duration field already, you can use the timechart command to create the chart.

<<your search for duration>>
| timechart span=1d max(duration) as duration
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What have you tried so far?

Assuming you have calculated the duration field already, you can use the timechart command to create the chart.

<<your search for duration>>
| timechart span=1d max(duration) as duration
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...