Getting Data In

How can I limit disk space usage in Splunk / Netapp Ontap App?

nicolay_koecher
Explorer

Hello,

In my environment I use Splunk and netapp ontap app. The index is on a separate nfs Vol 400GB in size. My current usage is about 78%.

I limited the file /opt/splunk/etc/apps/Splunk/etc/apps/Splunk_TA_ontap/local/indexes.conf to

[default]
maxTotalDataSizeMB = 200000
frozentimePeriodInSecs = 2592000

What thakes precedence?

I also limited /opt/splunk/etc/apps/Splunk/etc/apps/sa-Utils/default/tsidx_retention.conf

maxTotalDataSizeMB = 100000
retentionTimePeriodInSecs = 188697600

same question --> What takes precedence?

Any useful suggestions in how to limit this?

thanks
Nico

0 Karma

mgildenhorn_spl
Splunk Employee
Splunk Employee

For the indexes.conf - maxTotalDataSizeMB is the TOTAL space that all of the indexed data will reside in (Hot+Warm+Cold). frozentimePeriodInSecs will determine when older data moves out of Hot+Warm+Cold. Whichever parameter reaches its limit first will detemine how the buckets are aged out. So to directly answer your question, the one that takes precedence depends on which parameter hits the limit first.

Same holds true for tsidx_retention.conf parameters.

0 Karma

halr9000
Motivator

I changed your tags to help get the right answer as this isn't specific to the NetApp app.

Here is a start: http://wiki.splunk.com/Deploy:BucketRotationAndRetention

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...