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 November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...