My company has a demo VM running WebSphere Portal, and I also put Splunk on that server to help me troubleshoot it remotely much more efficiently. However, the only public traffic allowed into that VM is over ports 80 and 443.
That VM already has an instance of Apache (IBM HTTP Server actually) running, and the WebSphere plugin makes it function as a reverse proxy to WebSphere Application Server. It's configuration handles it's own set of URIs, so I needed to make Apache handle the ones for Splunk.
As far as I've been able to tell, Splunk URIs all start with en-US, static, or manager. So, this has worked perfectly for me so far:
ProxyRequests Off
ProxyPass /en-US
http://127.0.0.1:8000/en-US
ProxyPassReverse /en-US
http://127.0.0.1:8000/en-US
ProxyPass /static
http://127.0.0.1:8000/static
ProxyPassReverse /static
http://127.0.0.1:8000/static
ProxyPass /manager
http://127.0.0.1:8000/manager
ProxyPassReverse /manager
http://127.0.0.1:8000/manager
Of course you'll need the Apache proxy modules enabled:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
You need to be a member of splunkninja to add comments!
Join splunkninja