Getting Data In

Configuration for Identify & Index events with future date

krishnarajb2304
Explorer

Hi Splunker's,

Events coming for future dates, how to identify the future events and index them.

Thanks,

0 Karma
1 Solution

vasanthmss
Motivator

Hi,

Add the following configuration in props.conf along with time stamp recognition.

Props.conf:

MAX_DAYS_HENCE = <integer> 

Sample configuration will look next 3 days,

MAX_DAYS_HENCE = 3

Maximum Integer value is 10950 (days).

Gothrough the following Links ,

http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/Configuretimestamprecognition
http://docs.splunk.com/Documentation/Splunk/6.2.4/admin/Propsconf

V

View solution in original post

woodcock
Esteemed Legend

The answer by @vasanthmss is a good one and the one I would have given (but he got there first). The answer assumes that it is correct and proper for you go get events "from the future" and so we are accommodating/allowing them. But perhaps that is not what you desire; are you trying to fix/prevent events from the future?

0 Karma

krishnarajb2304
Explorer

we are looking for the hence day.

Thanks Woodcook,

0 Karma

vasanthmss
Motivator

Hi,

Add the following configuration in props.conf along with time stamp recognition.

Props.conf:

MAX_DAYS_HENCE = <integer> 

Sample configuration will look next 3 days,

MAX_DAYS_HENCE = 3

Maximum Integer value is 10950 (days).

Gothrough the following Links ,

http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/Configuretimestamprecognition
http://docs.splunk.com/Documentation/Splunk/6.2.4/admin/Propsconf

V
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...