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!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...