Splunk Search

Time format for given log

VijaySrrie
Builder

Hi Team,

What is the Time_Format for
Tue Sep 17 12:43:09.925775 2019
I am not able to get it exactly from the below link
https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Commontimeformatvariables

Labels (1)
Tags (1)
0 Karma
1 Solution

PavelP
Motivator

Hello @vijaysri ,

it should work with the current Splunk version automatically.

Alternatively you can set TIME_FORMAT=%a %b %d %H:%M:%S.%6N %Y

View solution in original post

PavelP
Motivator

Hello @vijaysri ,

it should work with the current Splunk version automatically.

Alternatively you can set TIME_FORMAT=%a %b %d %H:%M:%S.%6N %Y

harsmarvania57
Ultra Champion

Hi,

Please try below config

TIME_FORMAT = %a %b %d %H:%M:%S.%6N %Y
0 Karma

vnravikumar
Champion

Hi

Try this

| makeresults 
| eval temp="Tue Sep 17 12:43:09.925775 2019" 
| eval epoch=strptime(temp,"%a %b %d %H:%M:%S.%6Q %Y") 
| eval output=strftime(epoch,"%a %b %d %H:%M:%S.%6Q %Y")
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...