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!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...