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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...