Installation

Splunk silent installation: Is there an argument to bypass all arguments?

a212830
Champion

Hi,

I'm working on automating our Splunk installation. Is there an argument to bypass all arguments? I've seen the accept license prompt, but I've also run into questions about reviewing the migration when doing a upgrade.

Labels (1)
1 Solution

aaronkorn
Splunk Employee
Splunk Employee

For example:
/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt

View solution in original post

aaronkorn
Splunk Employee
Splunk Employee

For example:
/opt/splunk/bin/splunk start --accept-license --answer-yes --no-prompt

ChrisG
Splunk Employee
Splunk Employee

There are also specific instructions for silent installation on Windows in the Installation Manual.

0 Karma

rolfkuper
New Member

Dont work windows commands

nothing happens

msiexec.exe /I Splunk.msi SPLUNKUSERNAME=SplunkAdmin SPLUNKPASSWORD=MyNewPassword /quiet

 

0 Karma

jho-splunk
Splunk Employee
Splunk Employee

Hi @rolfkuper ,

When you say "nothing happens", you mean literally nothing?  No errors or dialog or anything?  I would have said that you're missing AGREETOLICENSE=Yes on that command line, but I don't understand why nothing at all would happen...

You could try adding the following to the command line, and then maybe there'll be some hints in the log file:

 

/l*vx msiexec.log

 

Cheers,

 

 - Jo.

 

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...