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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...