Splunk Search

Turn the date on a graph

hartfoml
Motivator

I have a graph that is showing data by date over the last 30 days. I have converted timeformat down to "%m/%d. Even with this small date format it is hard to read the date when I squash 30 days on the chart. I would also like to show the "%a" short day format so people can see the weekend days.

My question is how to I turn the date on the x axis so it is printed vertically rather that horizontally so it is more readable?

Tags (2)
0 Karma

imrago
Contributor

To rotate the labels, in the advanced xml you could add the following parameter to HiddenChartFormatter module

<param name="charting.axisLabelsX.majorLabelStyle.rotation">90</param>

This might not be supported in JSChart.

0 Karma

imrago
Contributor

My previous suggestion did not work, because JSChart was used by simplified xml.

Please try the following where you will get flash based chart :



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
1
90

0 Karma

hartfoml
Motivator

Thanks so much for the help. this code looks like it should work but it doesn't. if you can think of anything else let me know.

Hope to see you at the Users .conf next week. Thanks again

0 Karma

imrago
Contributor

in case that you are using simplified xml that line would be

90

so try this:



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
90

0 Karma

hartfoml
Motivator

Thanks for the help

Here is what I have that is not working



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
90

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...