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!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...