Splunk Search

Weekdays on Timechart

paulf
Explorer

Hi,

Is it possible for Splunk to show ALL days on the x-axis for a timechart? I have a search which returns data for every single day for the last month, but the x-axis is only filled with labels for the start of each week.

Ideally i would like it to show me, Mon, Tue, Wed etc...

Also, i am using | timechart count
Thanks
Paul

Tags (1)
0 Karma

jonuwz
Influencer

If its on a dashboard you could edit the xml to add some options :

<option name="charting.chart">line</option>
<option name="charting.axisLabelsX.majorLabelVisibility">hide</option>
<option name="charting.axisLabelsX.minorLabelVisibility">show</option>

This'll hide the start of week labels on the X axis, and enable the daily (minorLabels)

Its a bit cramped though.

All the axis/chart options are documented here

0 Karma

jonuwz
Influencer

I've not seen an option that allows you to do that from the search bar

0 Karma

paulf
Explorer

Hi, I am doing this as a search, without a dashboard view.

Can these options be used in the search somehow?, if not, is it possible to do what i need from the search?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...