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!

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...

Application management with Targeted Application Install for Victoria Experience

Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...