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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...