Configure application-layer authentication
Configure application-layer authentication that adds an exchange to Splunk-to-Splunk (S2S) connections between forwarders and indexers.
Application-layer authentication adds an exchange to Splunk-to-Splunk (S2S) connections between a forwarder and an indexer. The exchange runs at the application layer, above Transport Layer Security (TLS). For more information, see Application-layer authentication for forwarders and indexers.
If the data source doesn't run Splunk software, use HTTP Event Collector (HEC) to send data to Splunk Cloud Platform. Application-layer authentication doesn't affect HEC.
For Splunk Cloud Platform, set the authentication mode on the forwarders that send data to your deployment. Splunk Cloud Platform manages the receiving indexers.
Configure application-layer authentication on forwarders
- Linux on x86_64 or ARM64
- 64-bit Windows
- macOS on Apple silicon
You can set one mode for all target groups on a forwarder, or set a different mode for a specific target group. Follow these steps:
The forwarder uses the configured authentication mode for new S2S connections.
Troubleshoot application-layer authentication
Restore forwarding when an application-layer authentication handshake causes a forwarder to close its connection to an indexer.
A forwarder stops forwarding after you set s2sAuthMode to auto or strict.
In auto and strict modes, the forwarder closes a connection if the handshake is rejected or times out. When the indexer indicates during connection setup that it supports the handshake, the forwarder holds event data until the indexer reports an outcome. The forwarder waits for the number of seconds specified by s2sAuthHandshakeTimeout in outputs.conf, which defaults to 30 seconds. An unresponsive indexer can delay a new connection by up to this value.