Splunk Search

Time scale format change in timechart

geetanjali
Path Finder

how can i change the format of time in timechart Default format is : March 12th Sat

i need : 3/12/Sat

Tags (1)
0 Karma

alvaromoraes
Path Finder

Yes, you can, read more in http://splunk-base.splunk.com/answers/11649/specify-timestamp-display-format-for-timechart-axis-labe...

For me, Ron Naken tip worked.

Read this for more about date format info: http://docs.splunk.com/Documentation/Splunk/5.0.1/SearchReference/Commontimeformatvariables

Use something like above to get your "3/12/Sat" format:

... | rename _time AS Time | eval Time=strftime(Time, "%m/%d/%A")

I hope this can help you!

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...