Splunk Search

Is it possible to get more than 90days logs in splunk ?

New Member

I need to get the logs which are older than 90days in splunk but our retention policy is 90days only. So, If it is possible get, kindly guide me

0 Karma


Yes, it's possible with changes in indexes.conf

Default system file location is $SPLUNK_HOME/etc/system/local/
Customised/add-on file location is $SPLUNK_HOME/etc/apps/< app_folder_name >

Increase "frozenTimePeriodInSecs" attribute for the indexes.conf

For example for _internal logs, you can increase retention from 30 days to 90 days by changing frozenTimePeriodInSecs from 259200 to 77,76,000

frozenTimePeriodInSecs = ‭77,76,000‬
0 Karma

Ultra Champion

If you are using Splunk Cloud the default retention period is 90 days.

You can increase retention beyond 90 days if you need to, but you will have to talk to your account manager to make the changes.
You can modify the retention settings through the UI, but it will not affect retention beyond 90 days unless you are on one of the tiers that allows it.

If my comment helps, please give it a thumbs up!
0 Karma

New Member

Thank you Arjun

0 Karma


If your retention policy is 90 days, then data older than 90 days is archived/deleted based on how the environment is setup. Check with your splunk admin on if the data is archived, if yes, she/he should be able to thaw the data for you. But if your data has been deleted, then the only way to do it would be to re-index the data.

Another option is if you are looking for only aggregated data, you can summarize them to a summary index or KV stores depending the volume of the data. This however is only effective from the day you implement this and cannot go back to any data that has already been deleted. All these options need to be discussed with your Splunk Admin

0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...