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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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