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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...