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!

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