Deploy Splunk Universal Forwarder via the script for automation

New Member

Hello experts,

I'm trying to deploy splunk via the Nutanix calm blueprint. I could not install it successfully with LOGON_USERNAME & LOGON_PASSWORD parameters.

I was only able to install it with this powershell script.

Start-Process -Filepath "c:\_Splunk\Splunk_Silent.bat" -Wait


Inside the bat file

msiexec.exe /I splunkforwarder-7.3.0-657388c7a488-x64-release-64bit.msi DEPLOYMENT_SERVER="<ipadd>:8089" LAUNCHSPLUNK=1 AGREETOLICENSE=Yes /quiet


But when I include the LOGON_USERNAME & LOGON_PASSWORD parameters that's where the installation fails.


Labels (1)
0 Karma

Splunk Employee
Splunk Employee

Hi @herberthebia,

This question may provide some pointers on troubleshooting/solving: Solved: Re: New Install of Splunk - Rollback occurs near t... - Splunk Community.

Also, is is possible that the LOGON_PASSWORD has any punctuation characters in it that may be interpreted by the cmd shell? 



 - Jo.


0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...