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.

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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...