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!

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 ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...