Splunk Search

How do I set the major unit duration to 1 week

sriram_sathyamo
New Member

In a chart, I need to set major unit to be one week (i.e adjacant tick marks need to be one week apart). How do I do this?

Tags (1)
0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

You should be able to use the span=1w directive for timechart. For example: ... | timechart span=1w count. If this doesn't do it, you can tune the chart properties if you put the chart on a dashboard. See http://www.splunk.com/base/Documentation/latest/Developer/ChartReference as a reference.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...