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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...