Security

data trim

Siddharthnegi
Contributor

Thanks for your answer, however, we are facing an issue where there is enough space in our index but our disk space has reached around 80%. SO I just want to know if volume trimming happens on the disk level as well ? Below attached are our index configuration for paloalto index and the disk status.

 

[firewall_paloalto]
coldPath = volume:cold\firewall_paloalto\colddb
homePath = volume:hotwarm\firewall_paloalto\db
thawedPath = D:\splunk_data\firewall_paloalto\thaweddb
tstatsHomePath = volume:hotwarm\firewall_paloalto\datamodel_summary

frozenTimePeriodInSecs = 47304000

maxTotalDataSizeMB = 4294967295

0 Karma

richgalloway
SplunkTrust
SplunkTrust

When buckets age out and are frozen (deleted) then disk space will be restored.  The buckets need to be at least 1.5 years old before they will be deleted, however, given the frozenTimePeriodInSecs setting.

Buckets also will be deleted as needed to stay within the maxTotalDataSizeMB setting, but it may take a long time to fill 4PB (depending on your ingest rate).

You may want to confirm the settings are appropriate for the index.

---
If this reply helps you, Karma would be appreciated.

Siddharthnegi
Contributor

Thanks for the answer , but the problem is we have enough storage for index but still its trimming data . And disk space is used around 80% , So i want to know whether volume trimming happens on the disk level as well.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are many settings that factor into when data is reaped, which makes it a bit complicated.  It's further complicated if you use volumes or SmartStore.

Can you share the indexes.conf stanza for the index and the [default] indexes.conf stanza?

---
If this reply helps you, Karma would be appreciated.

Siddharthnegi
Contributor

Are you talking about this?

 

[firewall_paloalto]
coldPath = volume:cold\firewall_paloalto\colddb
homePath = volume:hotwarm\firewall_paloalto\db
thawedPath = D:\splunk_data\firewall_paloalto\thaweddb
tstatsHomePath = volume:hotwarm\firewall_paloalto\datamodel_summary

frozenTimePeriodInSecs = 47304000

maxTotalDataSizeMB = 4294967295

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Is there also a [default] stanza in indexes.conf?  What are the volume settings?

---
If this reply helps you, Karma would be appreciated.

Siddharthnegi
Contributor

this is default stanza

 

[default]
enableDataIntegrityControl = true
frozenTimePeriodInSecs = 47304000
repFactor = auto
maxWarmDBCount = 80
maxTotalDataSizeMB = 4294967295

 

[volume:hotwarm]
path = /opt/index_data/splunk_data

 

[volume:cold]
path = /opt/index_data/splunk_data

 

[volume:tstats]
path = /opt/index_data/splunk_data_tstats

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The volume settings should include maxVolumeDataSizeMB so Splunk knows how large the volume is (or at least how much it can use).  Each index can use individual maxTotalDataSizeMB settings to control how much of the volume they can consume.

---
If this reply helps you, Karma would be appreciated.

Siddharthnegi
Contributor

Why the data is being  trimmed if the index have enough space to store new data as well as old data?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps, in the absence of maxVolumeDataSizeMB, Splunk is using a low value for the size of the volume and trimming data to "fit" that lower value.

---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...