Dashboards & Visualizations

x-axis marks

0range
Communicator

Hi everyone.
I have a 24-hours chart on a dashboard with marks on X axis every 6 hours.
How to make marks more frequent?

0 Karma

0range
Communicator

Here's what I'm trying to explain:
there are martks 1:55, 2:00, 2:05....
And if I want them to be each 2 minutes, or each minute - what can I do?
alt text

0 Karma

bfernandez
Communicator

If you are using timechart you can use span option to do it.

http://docs.splunk.com/Documentation/Splunk/6.0.3/SearchReference/Timechart

span
Syntax: span= | span=
Description: Sets the size of each bucket, using a span length based on time or log-based span.

0 Karma

bfernandez
Communicator

Alright, I don’t know if there are any xml option (simple or advance) to do it but you can bucket your data in the time interval that you want and use it in the xseries of your chart in spite of using the default timechart capabilities.

I mean, | bucket span=6m _time | eval mytime = strftime(_time, "%H:%M:%S") | stats xxx by mytime

This should force the chart to mark your frequency.

0 Karma

0range
Communicator

But that's about chart point frequency, not axis marks frequency. If it's clear what I'm trying to say..

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...