Deployment Architecture

How to open Splunk instance from putty session?

sanjubaba
Path Finder

I have a Splunk instance hosted on linux machine. I connect to the linux machine using putty. I want to open my splunk web on windows machine where I have the putty.

How can I open it?

Please guide me through this.

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Connect to the web interface from a browser on your windows machine

My guess is that this doesn't work otherwise you wouldn't be asking the question.

So the question is, why isn't it working?

Firstly, is the web interface running on the linux box?

What ip address and port is it listening on?

Do you have a network route (through firewalls and the like) to that ip address and port from your windows machine?

Are there other ports available which have routes (you might be able to set up a stunnel on your linux box to listen on a port you can reach and redirect traffic to the linux web interface)?

0 Karma

thambisetty
SplunkTrust
SplunkTrust

splunk web runs by default port 8000 with SSL disabled.

Try below URL:

http://linux_ip_where_splunk_installed:8000
————————————
If this helps, give a like below.

sanjubaba
Path Finder

@thambisetty if i have two linux machines hosted on putty and both of them are having Splunk hosted on them.

 

Can this work in that case?

 

http://linux_ip_address:port 8000

or should I need to provide different port number?

0 Karma

thambisetty
SplunkTrust
SplunkTrust

if i have two linux machines hosted on putty and both of them are having Splunk hosted on them.

you mean two splunk instances are running on single Linux machine? if that is your question, then you need to specify different port. two instance of Splunk cannot use same port.

First check splunk service is running on linux machine or not.

To do that:

  1. ssh to Linux machine
  2. ps -eaf | grep splunk
  3. if you see anything like splunkd  in the output of above command that means splunk is running. 
  4. Take the SPLUNK_HOME path like /opt/splunk/bin/splunkd ( bold is Splunk home path)

Next find web port:

  1. /opt/splunk/bin/splunk show web-port ( this might prompt for authentication)
————————————
If this helps, give a like below.
0 Karma

sanjubaba
Path Finder

@thambisetty I have two linux machines having single Splunk instance hosted on each of them.

In that case I don't need to specify different ports. 

Right?

0 Karma

thambisetty
SplunkTrust
SplunkTrust

then you need to access each one of them using their IPs. Port would be same.

for example linux_machin1 then http://linux_machine1_ip:8000

linux_machine2 then http://linux_machine2_ip:8000

————————————
If this helps, give a like below.
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...