Enable authentication for Edge Processor package downloads
Reinstall existing Edge Processor instances and enable authenticated package downloads in supported Splunk Enterprise 10.0, 10.2, and 10.4 maintenance releases.
This procedure applies to Splunk Enterprise deployments that run Edge Processors on customer-managed hosts. It does not apply to Splunk Cloud Platform deployments that download packages from the Splunk Cloud package distribution service.
Before you begin, create an inventory of every Edge Processor instance in the deployment and track each instance as you reinstall and verify it.
Make sure that you have the admin role in Splunk Enterprise and administrative access to each instance host.
Supported maintenance releases for Splunk Enterprise 10.0, 10.2, and 10.4 include optional authentication for Edge Processor package downloads. Enabling this setting provides additional security for packages downloaded from Splunk Enterprise to Edge Processor instances.
Package download authentication is inactive by default in these releases. There is no migration deadline, and enabling the setting is optional.
For a new deployment, you can enable authentication before installing your first Edge Processor instances. For an existing deployment, upgrade Splunk Enterprise and reinstall every existing instance before enabling authentication.
Why a full reinstallation is required
Each instance includes an Edge Processor component that starts the instance and downloads required software packages. This component cannot update itself, and older versions cannot authenticate package download requests.
Fully uninstalling and reinstalling an instance using installation commands generated after the Splunk Enterprise upgrade replaces the component with a version that supports authentication. Restarting the instance or waiting for an automatic software update does not complete this preparation.
Before you begin
- Upgrade Splunk Enterprise to a supported maintenance release that includes package download authentication.
- Inventory every Edge Processor instance and its host. Maintain a checklist so that you can verify that every existing instance is reinstalled.
-
Review the documentation for your Splunk Enterprise version:
- Plan a rolling reinstallation if you need to maintain uninterrupted data flow.
Plan a rolling reinstallation
An Edge Processor is a logical group that can have one or more instances. Each standalone instance runs on a separate host. If an Edge Processor has multiple instances, you can reinstall them in batches while the remaining instances continue to process data.
Before taking an instance offline:
- Confirm that the remaining instances are Healthy and can process incoming data.
- Confirm how upstream senders or load balancers can stop routing data to an offline instance and fail over to the remaining instances.
- Determine the minimum number of instances required to handle peak traffic. This number is your capacity floor.
Calculate the maximum batch size as follows:
maximum instances offline = total instances - capacity floor
For example, if an Edge Processor has 10 instances and requires 8 instances to handle peak traffic, reinstall no more than 2 instances at a time.
For a single-instance Edge Processor, add a second instance to the same Edge Processor and confirm that it is Healthy and receiving traffic before removing the original instance. If you cannot add temporary capacity, schedule an ingestion interruption and account for the buffering and delivery behavior of each upstream sender.
Review the failover and buffering behavior of each upstream sender. Splunk forwarders must have another available target and sufficient queue capacity. HEC and syslog senders require a resilient client configuration or load balancer. UDP does not guarantee delivery, so provide another collection path or minimize the interruption.
The required preparation is complete when every existing Edge Processor instance is reinstalled and verified. Enabling authentication is optional.
Enable package download authentication
After you reinstall and verify all existing instances, you can optionally enable package download authentication. Choose one of these methods.
-
Enable authentication from the first-time setup page.
- In Splunk Web, open the Splunk Pipeline Builders app.
-
Navigate directly to the app's setup page by appending
/setupto the app URL. For example:CODEhttps://<splunk-web-host>:<port>/<locale>/app/splunk_pipeline_builders/setup - Under Authentication for Edge Processor package downloads, turn on Authentication required.
- Select Save.
- When prompted, restart Splunk Enterprise to apply the change.
-
Enable authentication in
restmap.conf.- Create or update $SPLUNK_HOME/etc/apps/splunk_pipeline_builders/local/restmap.conf.
-
Add the following stanza and setting:
CODE[script:edge-binary-server] requireAuthentication = true - Restart Splunk Enterprise to apply the change.
Verify package download authentication
After you complete the required reinstallation and any optional authentication change, confirm the following:
- Your inventory shows that every instance that existed before the Splunk Enterprise upgrade was reinstalled and verified.
- No affected instance is labeled Needs reinstallation.
- Every Edge Processor instance is Healthy, and data continues to flow through all associated pipelines.
- If you enabled authentication, confirm that Authentication required is enabled.
- If you left authentication inactive, confirm that it remains inactive.
Troubleshoot package download authentication
If a reinstalled instance does not become Healthy, complete these checks:
- Confirm that the host can connect to the Splunk management port and that intervening proxies or firewalls allow the connection.
- Generate new installation commands from the Install/uninstall tab and try the installation again. Do not reuse commands from a previous attempt.
- Review the instance logs for Edge Processor component, package download, or authentication errors.
- Confirm that the instance was installed into the intended logical Edge Processor.
- Contact Splunk Support if the problem continues.
If you enabled authentication before updating every instance, set requireAuthentication to false in the app-local restmap.conf file, then restart Splunk Enterprise. This restores unauthenticated package downloads but does not update affected instances. Complete the reinstallation before enabling authentication again.