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!

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more with ITSI’s ...

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more! Faster Time to ValueManaging and ...

New Release | Splunk Enterprise 9.3

Admins and Analyst can benefit from:  Seamlessly route data to your local file system to save on storage ...

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 ...