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!

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...