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 January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...