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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...