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.

Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...