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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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