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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...