Installation

Is it possible to skip the migration prompt after an upgrade?

jambajuice
Communicator

We need to upgrade several hundred Splunk forwarders to the latest release. After the upgrade, the first time I restart Splunk from a command-line, I'm prompted about the migration process. Is there any way to make Splunk automatically complete the upgrade without requiring user input?

Thanks.

Craig

Labels (2)
Tags (1)

gkanapathy
Splunk Employee
Splunk Employee

Yes:

splunk start --accept-license --answer-yes --no-prompt

will ensure that you don't get a prompt. If you have a boot/init.d script (not applicable on Windows), the default generated Splunk startup script does not contain these flags. I would recommend that you edit the default startup script to include these flags in any kind of a large distributed deployment.

Reference:

http://www.splunk.com/base/Documentation/latest/Installation/StartSplunkforthefirsttime

wand3r3r
New Member

Does this work with Universal forwarder installs that also prompt for user and password?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@wand3r3r This thread is over 9 years old so it's unlikely to have more responses. Consider posting a new question.

---
If this reply helps you, Karma would be appreciated.
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 ...