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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...