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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...