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 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 ...