Getting Data In

Web proxying with Splunk

PaulEscher
Explorer

Enabling web proxy via apache through splunk.

**I have configured the web.conf as such:** 
[settings] 
enableSplunkWebSSL = 0 
root_endpoint = /splunk 
[general] 
serverName = myserver 
trustedIP = 127.0.0.1

**and my apache.conf is as such:**
# proxy configuration 
ProxyRequests Off 
<Proxy *>   
Order deny,allow   
Allow from all 
</Proxy> 
ProxyPass /splunk/ http://www.myserver.com:8000/ 
ProxyPassReverse /splunk/ http://www.myserver.com:8000/

And I am unable to get everything working. Am I missing something simple?

With some settings I can get the login, but the CSS's are not coming in, and in other configurations I get the login (with the CSS's), but then I get a login error during submittal.

Any suggetions welcome.

My goal is to use https://www.myservername.com/splunk/ to replace http://www.myservername.com:8000/splunk/

Thanks.

Paul

Tags (1)
1 Solution

ziegfried
Influencer

The proxy-pass should look like this:

ProxyPass /splunk http://www.myserver.com:8000/splunk
ProxyPassReverse /splunk http://www.myserver.com:8000/splunk

View solution in original post

0 Karma

ziegfried
Influencer

The proxy-pass should look like this:

ProxyPass /splunk http://www.myserver.com:8000/splunk
ProxyPassReverse /splunk http://www.myserver.com:8000/splunk
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...