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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...