Splunk Search

Timechart - xaxis - label customization

vdevarayan
Path Finder

Is it possible to customize the x-axis labels that displays 0, 10, 20, ... 60
(where each number represents number of seconds)

For example, my search results are from say 15:28:00 -to- 15:30:00 (for 3 mins)
Instead of x-axis saying "3:28PM Wed Mar 25 2015", can we make it say 0, 1, 2, 3 (in mins)?

Is this possible?

Tags (3)
0 Karma

stephanefotso
Motivator

Here is an example where i count sourcetypes by Minutes in the _internal index. Take a look at it: index=_internal sourcetype=*| eval minutes=strftime(_time, "%M")|chart count by minutes |head 20

SGF
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Asynchronous Forwarding Explained

Splunk asynchronous forwarding is often misunderstood as simply setting autoLBVolume. That is not quite right. ...

55 Days to Go: Secure Your Seat at Splunk University in Denver

Your .conf26 Experience Starts Before Opening Keynote  If Denver is known for its mile-high elevation, Splunk ...

(re)Introducing the Splunk Community Champions + 2026 – 2027 Splunk MVPs ...

This program exists as a channel to empower and recognize Splunk advocates and help supercharge initiatives to ...