Getting Data In
Highlighted

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

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
Highlighted

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

Communicator

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
Highlighted

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

New Member

Thnx for the quick response 🙂

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

0 Karma