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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...