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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...