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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...