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!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...