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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...