Getting Data In

How to install the Splunk forwarder from a remote machine using script after switching user?

sampathkonka
New Member

I want to install Splunk forwarder in remote server from local Linux server using script. When I'm running the script (placed in local machine) via SSH it's connecting to remote but the script is running in local machine. Could you please assist me to install forwarder via ssh from local Linux server?

Thanking you 🙂

0 Karma
1 Solution

guarisma
Contributor

You'll need to push your script to the remote machine so you can execute it there.
Here is an awesome example you can follow:
https://answers.splunk.com/answers/34896/simple-installation-script-for-universal-forwarder.html

View solution in original post

0 Karma

guarisma
Contributor

You'll need to push your script to the remote machine so you can execute it there.
Here is an awesome example you can follow:
https://answers.splunk.com/answers/34896/simple-installation-script-for-universal-forwarder.html

0 Karma

sampathkonka
New Member

Thnx for the quick response 🙂

I got the solution..I did in the same way what you've mentioned 🙂

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...