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!

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 ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...