Getting Data In

managing per index data retention

ebaileytu
Communicator

I need to retain data for 6 months with 400 GB of data max in warm and 5 tb in cold. Will the below work? I am confused since when I use the DMC to review index stats I see index usage described as 488.12/488.28. Does that mean that the index will start dropping data at 488.28? Thanks!

[default]

Default for each index. Can be overridden per index based upon the volume of data received by that index.

400GB

homePath.maxDataSizeMB = 409600

5TB

coldPath.maxDataSizeMB = 5120000

Custom Indexes

[ie]
homePath = $SPLUNK_DB/ie/db
coldPath = /shared/splunk/var/lib/splunk/ie/colddb
thawedPath = $SPLUNK_DB/ie/thaweddb
frozenTimePeriodInSecs = 15552000

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Indexes consume most of the disk space. If you run out of disk space, the indexer stops indexing.
You can set a minimum free space limit to control how low free disk space falls
before indexing stops. Indexing resumes once space exceeds the minimum.

Note:
. The indexer does not clear any of its disk space with this method. It simply
pauses until more space becomes available.
· Incoming data can be lost while indexing is suspended.

When a volume containing warm buckets reaches its maxVolumeDataSizeMB, it
starts rolling buckets to cold. When a volume containing cold buckets reaches its
maxVolumeDataSizeMB, it starts rolling buckets to frozen. If a volume contains both
warm and cold buckets (which will happen if an index's homePath and coldPath
are both set to the same volume), the oldest bucket will be rolled to frozen.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

400GB

homePath.maxDataSizeMB = 400000 --- (did you mistype it as "409600" ah?!?!)

0 Karma

teunlaan
Contributor

think you have to set maxTotalDataSizeMB = xxxxxxxxx
Youre setting are still the default.

As far as I understand it will start dropping data on whatever limit is fit first.

0 Karma

ebaileytu
Communicator

ok - that makes sense. I need to define the overall size along with the size for home and cold so data is shifted to cold to account for limits in main storage.

Thanks!

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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...