Deployment Architecture

How to increase current log retention configuration of an index?

akash99
Loves-to-Learn

Hello,

I've below configuration for one index.

maxTotalDataSizeMB = 333400

maxDataSize = auto_high_volume

homePath = volume:hotwarm_cold/authentication/db

coldPath = volume:hotwarm_cold/authentication/colddb

thawedPath = /splunk/data2/authentication/thaweddb

coldToFrozenDir = /splunk/data2/authentication/frozendb

tstatsHomePath = volume:hotwarm_cold/authentication/datamodel_summary

homePath.maxDataSizeMB = 116700

coldPath.maxDataSizeMB = 216700

maxWarmDBCount = 4294967295

frozenTimePeriodInSecs = 2592000

repFactor = auto

 

Current log volume for this index is 3GB/day. Due to change in requirements, the log volume will increase to ~15GB/day and log retention period will change to 60 days. Could you tell how maxTotalDataSizeMB, homePath.maxDataSizeMB, coldPath.maxDataSizeMB and maxWarmDBCount will be calculated and how the calculation changes with data volume and retention period?

Labels (2)
0 Karma

codebuilder
Influencer

The short answer is that you cannot accurately predict what the maxTotalDataSizeMB will be. It will vary based on event count, event size, indexed size, etc.

In the use case you describe, I think it would be best to set maxTotalDataSizeMB to unlimited (or a very high value), set frozenTimePeriodInSecs to 5184000 (60 days), and remove both coldPath.maxDataSizeMB and coldToFrozenDir.

That will ensure you can handle the new log volume coming in and events older than 60 days will be deleted.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...