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!

Federated Search for Snowflake Is Now Generally Available on Splunk Cloud Platform

Unlocking Data-In-Place Search Across Splunk and Snowflake  Enterprise data is increasingly distributed across ...

Help Us Build Better Splunk Regex Puzzles (And Win Prizes!)

If you’ve spent any time in the Splunk Community Slack, you’ve likely seen our resident Splunk Trust ...

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...