Getting Data In

How Indexers behave when it comes into detention state ?

tsawa_splunk
Splunk Employee
Splunk Employee

I understand Splunk provides multiple means to control the disk size for indexing, and I want to understand better around minFreeSpace option which is specified in server.conf.

If the actual usage of the filesystem exceeds the threshold specified by minFreeSpace, how will the data which was seized from being indexed be handled after the disk space gets freed ? As long as the ack on Forwarder is enabled, will the data again be collected and indexed, or will it be just lost ?

I assume the result may be varied across types of input, forwarder, tcp/udp, HEC, etc ...
Any detailed answer would be highly appreciated.

0 Karma
1 Solution

FrankVl
Ultra Champion

If an indexer goes into detention, it will stop accepting new data on its inputs. If you have multiple indexers and you've set up your forwarders to load balance across your indexers, they will simply divert to the other indexers. If you have only a single indexer, then queues will start filling up on your forwarders and once those are full, their inputs will also block. In some cases your data sources may cache and resend once the blockage is over, but in many cases data will start to get lost (especially with 'unreliable' transport methods like UDP).

View solution in original post

FrankVl
Ultra Champion

If an indexer goes into detention, it will stop accepting new data on its inputs. If you have multiple indexers and you've set up your forwarders to load balance across your indexers, they will simply divert to the other indexers. If you have only a single indexer, then queues will start filling up on your forwarders and once those are full, their inputs will also block. In some cases your data sources may cache and resend once the blockage is over, but in many cases data will start to get lost (especially with 'unreliable' transport methods like UDP).

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!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...