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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...