Splunk Search

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

chandu141084
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

sumanssah
Communicator

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

[_internal]
frozenTimePeriodInSecs = ‭77,76,000‬
0 Karma

nickhills
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

chandu141084
New Member

Thank you Arjun

0 Karma

arjunpkishore5
Motivator

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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...