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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...