I have setup Splunk free on a Ubuntu server VM in my home lab. The VM is setup with a 100gb disc. I would like to configure splunk to make use of 50gb of that storage and just delete oldest data as the storage limit is reached. No Warm or Cold buckets, everything is Hot. I can't seem to find details on how to do just this - can someone direct me?
homePath.maxDataSizeMB = 50000
Check this docs page:
https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Configureindexstoragesize