Getting Data In

How to restart windows universal forwarder?

Corey
Explorer

How do you restart the windows universal forwarder after a post-install change in the configuration?

1 Solution

Genti
Splunk Employee
Splunk Employee
C:\Program Files\SplunkUniversalForwarder\bin>splunk.exe restart
SplunkForwarder: Stopping (pid 2032)
Splunk> Take the sh out of IT.

Checking prerequisites...
        Checking mgmt port [8089]: open
        Checking conf files for typos...
All preliminary checks passed.

Starting splunk server daemon (splunkd)...

SplunkForwarder: Starting (pid 1780)
Done.

View solution in original post

Genti
Splunk Employee
Splunk Employee
C:\Program Files\SplunkUniversalForwarder\bin>splunk.exe restart
SplunkForwarder: Stopping (pid 2032)
Splunk> Take the sh out of IT.

Checking prerequisites...
        Checking mgmt port [8089]: open
        Checking conf files for typos...
All preliminary checks passed.

Starting splunk server daemon (splunkd)...

SplunkForwarder: Starting (pid 1780)
Done.

Corey
Explorer

Duh! Another approach is to restart the SplunkForwarder service. I didn't see the service because I had the service viewer open when I installed and didn't refresh the view - so I couldn't see the service listed.

Thanks for the quick response.

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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...