Splunk Search

assigning datetime field from the input file

jiaqya
Builder

I have a file to index which has a date field ( currentdate) . How to configure the input regex so as to use this field as the timestamp for indexing..

Tags (1)
0 Karma

xpac
SplunkTrust
SplunkTrust

Hey, just check this part of the docs for the right configuration:
http://docs.splunk.com/Documentation/Splunk/7.1.0/Data/Configuretimestamprecognition

Especially the Edit timestamp properties in props.conf part will tell you how to use TIME_FORMAT and TIME_PREFIX to get your log set up.

0 Karma

jiaqya
Builder

the date field format is "May-09-2018" , Need to make splunk take this as timestamp..
how to do that with regex for input

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...