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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...