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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...