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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...