Getting Data In

How can I calculate Max index size to meet data retention needs?

marciodcr
Engager

Hi,

I need to keep about 6 months of searchable data in the splunk environment which i am working with.

The average daily rate is 25GB/day and i have calculated the max index size through this way:

25GB * 180 days = 4500GB / 3 + 50GB = 1550000

So, to meet the retention needs, the max index size should be set to ~1.5TB.

Is this information correct?

Thanks!

Marcio

Tags (1)
0 Karma

jtrucks
Splunk Employee
Splunk Employee

Some data types only give you about a 50% reduction in space, so you could be guessing low. However, you can simply cap the retention at 180days with frozenTimePeriodInSecs = 15552000. If you don't want to keep anything after that, don't provide a frozen path, and the data vanishes neatly.

--
Jesse Trucks
Minister of Magic

kristian_kolb
Ultra Champion

Just ensure that the maxTotalDataSizeMB (i.e. the max size of the index) is set sufficiently high so that the size constraint doesn't apply before the time constraint.

Also, make sure that you have enough diskspace.

/k

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...