Getting Data In

To not index the Current Date when indexing

Dark_Ichigo
Builder

Question on splunk to ignore the current day,

By using MAX_DAYS_AGO or MAX_DAYS_HENCE in props.conf?, if I set MAX_DAYS_AGO=0 for example will that ignore the current day?

Or maybe MAX_DIFF_SECS_AGO or MAX_DIFF_SECS_HENCE

0 Karma

lguinn2
Legend

Splunk has to attach a timestamp to each event that it indexes. Normally, Splunk uses a timestamp that it finds in the text of the event. However, if Splunk can't find a timestamp, it will use the current data and time.

So, if you don't want Splunk to use the current date and time, you must tell Splunk where to find the proper date and time. It would help if you posted a few sample events (anonymized) for the community, so that we could help you figure out the proper settings.

I don't think that any of the settings that you mentioned will be helpful to you.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...