An administrator is configuring an index that receives data from a syslog receiver. The index must retain data for 90 days, but the storage team requires that the index not consume more than 500 GB of disk space. When the 500 GB limit is reached, the oldest data must be deleted. Which indexes.conf setting should be used to enforce the disk space limit?
maxTotalDataSizeMB sets the maximum size of all buckets in the index. When the index exceeds this size, Splunk rolls buckets to frozen and deletes them if no archive is configured. This directly enforces the 500 GB limit and satisfies the storage team's requirement while still allowing retention up to 90 days if space permits.
Why this answer
The requirement is to cap total index size at 500 GB and delete oldest data when exceeded. maxTotalDataSizeMB is the correct setting because it limits the total size of all buckets in the index across all paths. When the limit is reached, Splunk freezes and removes the oldest buckets, ensuring the disk space constraint is met. Other settings control retention by time or individual bucket size, not overall index size.
Exam trap
The trap here is confusing time-based retention with size-based retention, and assuming that frozenTimePeriodInSecs alone can enforce a disk space limit.