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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...