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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...