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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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