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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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