Installation

How can I bypass the License Agreement on startup after a new install?

pfabrizi
Path Finder

I built a scripted process to perform an upgrade. When i issue the splunk start command I get the license agreement and have to answer a few questions. Is there a way to bypass this? I have an enterprise license and I am on linux going from 6.6.3 to 7.0.4.

Here is the message I see. This forces me to run the process interactively and I would like to make this a scheduled process
command: /trvapps/splunk/bin/splunk start
SPLUNK SOFTWARE LICENSE AGREEMENT

Thanks!

Tags (1)
0 Karma
1 Solution

pradeepkumarg
Influencer

./splunk start --accept-license --answer-yes

Your command
/trvapps/splunk/bin/splunk start --accept-license --answer-yes

View solution in original post

pradeepkumarg
Influencer

./splunk start --accept-license --answer-yes

Your command
/trvapps/splunk/bin/splunk start --accept-license --answer-yes

Slowpunk
Engager

Thank you, that worked!

UF Upgrade docs say to just do this:

  • To accept the license and begin the upgrade without viewing the changes (answer 'y'):
      $SPLUNK_HOME/bin/splunk start --accept-license --answer-yes


your ./ got my version (8.1.1) to work performing it in the splunk/bin/ directory

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...