Getting Data In

What's the earliest date I can have in Splunk?

dart
Splunk Employee
Splunk Employee

The largest setting I can make for MAX_DAYS_AGO according to the props.conf.spec is 10951 days.

Is there anything I can do if I have data prior to 1984?

Tags (2)
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You can just set it to -1.

[oldstuff]
MAX_DAYS_AGO = -1

alt text

The props.conf reference doesn't mention that, so I'm not sure if there's any caveat around this.

View solution in original post

hemmerling
Engager

When adding data, You may set at
"Set Source Type", section "Advanced"

Name = MAX_DAYS_AGO
Value = -1

If you know about
https://en.wikipedia.org/wiki/Unix_time
you might expect that
1970-01-01
is the earliest date we can have in Splunk.

At least on Windows, indeed, the earliest date for Splunk is
1971-01-01
and not 1970-01-01 and even not 1970-12-31

PS: ISO date format is easily recognized by the pattern

Section "Timestamp"
Field: Timestamp format
Value: %Y-%m-%d

Sincerely
Rolf

martin_mueller
SplunkTrust
SplunkTrust

You can just set it to -1.

[oldstuff]
MAX_DAYS_AGO = -1

alt text

The props.conf reference doesn't mention that, so I'm not sure if there's any caveat around this.

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...