Deployment Architecture

splunk redirecting to 127.0.0.1 instead of primary IP after adding context

aak2
New Member

All,

We are using splunk 6.0 with a distributed enviroinment. since we have 2 search heads we are trying to add 2 seperate context root to both the search heads like /sh01 and /sh02 to have both of them on same apache.

Im trying to accomplish it by following config in local web.conf on search head 01:

[local]

[settings]

httpport = 9000
mgmtHostPort = IP:9089
root_endpoint = /sh1
tools.proxy.on = True

but in browser im getting redirected to 12.0.0.1 instead of the actual IP that sh1 supposed to work. Please help me.

Thanks in advance.

0 Karma

aak2
New Member

I managed to fix this issue by changing tools.proxy.on = True to False.

Thanks Lucas for your help.

0 Karma

aak2
New Member

Am seeing this behaviour from searchhead itlef. we are accessing splunk directly through IP:port combination on browser. I mentioned here as IP on our server we do have the actual IP configures like" mgmtHostPort = 11.22.33.44:9089"

0 Karma

Lucas_K
Motivator

Shouldn't "mgmtHostPort = IP:9089" actually have an IP address? ie "mgmtHostPort =127.0.0.1:8089"

Also as you have proxy.on set I assume you are using apache 1.x?

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