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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...