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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...