Dashboards & Visualizations

How to create a Line chart with Time duration on the y-axis?

abhishekgupta61
Engager

We have requirement to create line chart where Time duration should be visible on Y axis (i.e. 01:30:25)
Please help me to create the SPL for this.

Date Duration
2018-05-02 01:31:01
2018-05-01 01:25:25
2018-04-30 01:20:10

0 Karma

abhishekgupta61
Engager

max(Duration) is showing seconds values in the Y axis instead of duration (HH:MM:SS)

0 Karma

woodcock
Esteemed Legend

How about some raw data and a graph/chart mockup? I do not understand.

0 Karma

abhishekgupta61
Engager

Raw data

Date Duration
2018-05-02 01:31:01
2018-05-01 01:25:25
2018-04-30 01:20:10

I want to display duration on Y axis in format (hh:mm:ss).
Currently it is coming in seconds after using below SPL code.
| chart max(Duration) over Date

0 Karma

kmaron
Motivator

without more information I'm guessing but you could try something like:

| chart max(Duration) over Date
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...