Getting Data In

Why is coldPath.maxDataSizeMB taking precedence and growing until parameter is reached?

srteclesmayer
New Member

I have the following configuration for an index extracted by using btool:

/opt/splunk/etc/system/local/indexes.conf   coldPath.maxDataSizeMB = 1843200
/opt/splunk/etc/system/local/indexes.conf   maxTotalDataSizeMB = 500000

But the coldPath doesn't care about maxTotalDataSizeMB parameter and it gets bigger and bigger:

950G    ./colddb
36G     ./frozendb
74M     ./datamodel_summary
4.0K    ./thaweddb
985G    .

So I checked how other indexes in my production environment were configured. For other indexes, I have the following configuration:

/opt/splunk/etc/system/local/indexes.conf   coldPath.maxDataSizeMB = 0
/opt/splunk/etc/system/local/indexes.conf   maxTotalDataSizeMB = 500000

And for these cases the rotation works propertly.

So my opinion is that coldPath.maxDataSizeMB has precedence over maxTotalDataSizeMB and even when maxTotalDataSizeMB is reached it keeps growing until coldPath.maxDataSizeMB parameter is reached.

I hope someone can help me to understand this situation because I'm suffering a huge problem in my environment.

Thank you in advance.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...