Knowledge Management

Data trim

Siddharthnegi
Contributor

I have some questions regarding data trim

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@Siddharthnegi - Please ask your question along with proper details so Splunk Community can help you.

 

Community Moderator,

Vatsal Jagani

0 Karma

Siddharthnegi
Contributor

I want to ask from which version of splunk data trim feature has been added.

0 Karma

gcusello
SplunkTrust
SplunkTrust
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@Siddharthnegi - What do you mean by the splunk data trim? Can you describe it? Where do you it, in query or somewhere else?

0 Karma

Siddharthnegi
Contributor

yes,

so you allocate some storage to index and a retention period. now if that storage fills up before the retention period is over splunk intelligence starts to trim old data so that new data can be stored.

 

lets say you have allocated 500gb to particular index for 6 months retention time. And everyday 70gb data is being produced and stored in that index, now in less than 10 days storage will be filled so splunk intelligence then trim cold data from cold bucket.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Siddharthnegi,

this means that you have to redesign your storage dimension because ingesting 70 GB/day and wanting to retain them for 180 days, you need:

Index_size = daily_ingestion * reduction_factor * retention_days

in other words:

Index_size = 70 * 0.5 * 180 = 6300 GB

you can also divide your storage:

  • Hot and Warm Buckets in an high performance storage (at least 800 IOPS)
  • Cold buckets in a less performant and expensive storage

Ciao.

Giuseppe

0 Karma
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!

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...

Index This | What is feather-light but cannot be held long?

May 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

.conf26 Registration is Live: Secure Your Early Bird Pass Now

  Lock in Your Spot: Registration Open for .conf26 in Denver Hello Splunkers, I have exciting news! Your ...