Installation

Unattended installation of universal forwarder

andresriancho
Explorer

I'm trying to install splunkforwarder-5.0.1-143156-linux-2.6-amd64.deb in an automated, unattended way using fabric. The issue is that when starting splunk universal forwarder for the first time using:

/opt/splunkforwarder/bin/splunk start

You need to accept the terms and conditions, which is difficult to automate. Is there a way to avoid that message from showing? What would be the ideal solution is:

/opt/splunkforwarder/bin/splunk start --accept-terms-and-conditions

Which would simply start the daemon without asking any questions.

PS: This is not a fabric issue but a splunk one.

Tags (1)
1 Solution

yannK
Splunk Employee
Splunk Employee

andresriancho
Explorer

Awesome! Thanks! 🙂

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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