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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...