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!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...