Security

Can Splunk be served from a different endpoint?

sh4kesbeer
Explorer

I am currently trying to let splunk run behind a reverse proxy so that there can be multiple web-services on the same domain.
The goal is to run splunk from e.g.:

https://example.com:9000/abc/

so that this maps to e.g.

http://some-local-machine:8000/ 

where splunk is running at port 8000.
I was able to configure nginx to handle normal requests and even the redirects coming form splunkweb in the right way but it seems some of the assets contained in the page are not referenced relative to the current page but rather contain an absolute path which is determined based on the Host-field in the request issued from the proxy.
Is there some way to let splunk know that it is supposed to run from some other endpoint than /? So that it can inject this endpoint into all links (by prefixing them) that are needed for the dynamic parts of the page.
Thanks in advance!

0 Karma
1 Solution

sh4kesbeer
Explorer

Okay there is a root_endpoint option for the web.conf which works as expected. It seems I did oversee this initially

View solution in original post

0 Karma

sh4kesbeer
Explorer

Okay there is a root_endpoint option for the web.conf which works as expected. It seems I did oversee this initially

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...