I'm using Splunk Enterprise 9.x with Universal Forwarders 9.x on Windows 2019. All my forwarders are connected to a deployment server. I notice the following for example:
However, even though the updated inputs.conf file seems to have landed at the forwarder I do not see the events defined by my new inputs.conf hitting the indexer until I restart the forwarder. Perhaps this is expected based on this When to restart Splunk Enterprise after a configuration file change - Splunk Documentation ?
Is this expected and if so is there any way to restart the forwarder remotely using Splunk itself?
Any app containing inputs.conf should have the "Restart splunkd" option enabled. Do that in the Forwarder Management section of the Deployment Server. That will tell the UF to restart itself each time it gets an updated copy of the app.
Any app containing inputs.conf should have the "Restart splunkd" option enabled. Do that in the Forwarder Management section of the Deployment Server. That will tell the UF to restart itself each time it gets an updated copy of the app.
I assumed (rather embarrassingly!) this restarted the deployment server splunkd! This is very useful.
Hi
just like @richgalloway said. One comment about your "restart ds". It's not needed to restart it, just reload it's configuration for deployment part with command
splunk reload deploy-server
Or even add more granularity there it you have lot of configurations and restart or even base reload take too long.
r. Ismo