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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...