Getting Data In

Is it possible for the Splunk SDK to connect to the instances by tunneling through a bastion host?

karthik40us
Explorer

Hi,

Is it possible for the Splunk SDK to connect to the instances by tunneling through a bastion host? We have a pretty locked down environment where we only allow access to instances via a bastion host. Is there way to configure the SDK to tunnel through a bastion host from the source machine (laptop/desktop)?.

0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

Since ssh tunnels just forward whatever through them, there's no reason this wouldn't work.

Setup a tunnel in putty on the bastion host with local port 8888 and the destination will be the ip of the Splunk server on the other side of the bastion host followed by :8089 (10.0.0.1:8089 for example). Save the putty session for future use. Connect to the bastion host. Then point your sdk at localhost:8888.

As long as tunneling is allowed and mapping ports locally is allowed on your machine, life should be good. You may need to run putty as admin in some cases.

View solution in original post

0 Karma

jkat54
SplunkTrust
SplunkTrust

Since ssh tunnels just forward whatever through them, there's no reason this wouldn't work.

Setup a tunnel in putty on the bastion host with local port 8888 and the destination will be the ip of the Splunk server on the other side of the bastion host followed by :8089 (10.0.0.1:8089 for example). Save the putty session for future use. Connect to the bastion host. Then point your sdk at localhost:8888.

As long as tunneling is allowed and mapping ports locally is allowed on your machine, life should be good. You may need to run putty as admin in some cases.

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 ...