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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...