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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...