Getting Data In

Is it possible to install Splunk forwarders on multiple Linux machines at one time?

saifuddin9122
Path Finder

Hello

I have 10 Linux machines on which I need to install a universal forwarder or heavy forwarder. My question is, do I need to log in to every machine and install Splunk, or can I do it all at one time? If so, do I need to use a Python script or something else? Can some please assist me or guide me in doing so?

Thanks in advance

0 Karma

ddrillic
Ultra Champion

We use a relatively simple python script to install a forwarder on a set of hosts.

The following refers to a full fledged install Python Splunk deployment Installer Script - scalable barebones deployments

The code is at tarneaud/splunk-installer

gcusello
SplunkTrust
SplunkTrust

Only on Unix or Linux (not Windows) systems you can also copy, from a stopped Splunk server, all the /opt/splunk directory and manually change the hostname in:
- etc/system/local/server.conf
- etc/system/local/input.conf
I did it and runs.
Bye.
Giuseppe

0 Karma

ryanoconnor
Builder

There is an accepted Splunk Answer for this. Take a look at the following: https://answers.splunk.com/answers/34896/simple-installation-script-for-universal-forwarder.html

0 Karma

gfreitas
Builder

Hi, you can create a script to login to all the machines and install all in the same time.

0 Karma

saifuddin9122
Path Finder

thanks for your reply
can you please provide me any reference or point me to a document so that i can go through it once

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