Splunk Search

Trying to write strptime statement for importing time and date data.

svercelli
Path Finder

My data set has time in the format 10/1/2015 12:02:00 AM in a single _time field. would anyone be able to tell me the correct strptime in importing the data.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

In that case the time format should be %m/%d/%Y %I:%M:%S %p.

http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Commontimeformatvariables

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Is that January 10th or October 1st?

0 Karma

svercelli
Path Finder

october 1st

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...