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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out &gt;&gt; As our brave ...