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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...