Getting Data In

How to install a Windows universal forwarder via command line?

DPWSplunkPOC
Explorer

I want to install the windows universal forwarder via command line.

My command is:

msiexec.exe /i "" AGREETOLICENSE=Yes INSTALLDIR=""

The command does not agree to the license and opens the GUI.

I'm using the 6.2.1 UF on x64 Win machines.

I followed the Splunk documentation with no success.

0 Karma

skylasam_splunk
Splunk Employee
Splunk Employee

Please use a command line like this - msiexec /i splunkforwarder-6.2.1-245427-x64-release AGREETOLICENSE=Yes /quiet
The /quiet is to suppress the GUI. You have to specify the msi in the command line which was missing in your invocation.

Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...