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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...