Getting Data In

How to automate Splunk Universal Forwarder installation on Windows script?

dantimola
Communicator

Hi,

Seeking for an assistance on how can I automate splunk forwarder installation using windows script? Can I add this command on a windows script?

msiexec.exe /i splunkforwarder-6.6.1-aeae3fe0c5af-x64-release.msi INSTALLDIR="C:\Directory" AGREETOLICENSE=Yes DEPLOYMENT_SERVER="ip:8089" /quiet

Cheers,
Dan

0 Karma

RPiccone
Explorer

There's no reason the command line options for installing the Forwarder can't be included in a script; in fact, automation via script is one of the reasons to install from the command line in the first place. The documentation (http://docs.splunk.com/Documentation/Forwarder/6.6.3/Forwarder/InstallaWindowsuniversalforwarderfrom...) includes plenty of information about which options are supported from the command line.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...