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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...