We are running 6.2.3 and are using search head clustering.
We would like to use an AWS ELB to terminate SSL, and then send the data to port 8000 on the search head nodes. The problem is that Splunk Web will redirect to HTTP and URLs in the UI will be plain HTTP and not HTTPs.
Is it possible to configure Splunk so that it is aware it is behind an SSL proxy?
Not supported. You can do HTTPS -> HTTPS with the ELB, as far as I know that's still the best option. Still waiting on SPL-79993.
@jnicholsenernoc and all - here is my working solution. we use CloudFormation and ansible to deploy everything pretty nicely in about 5-10 minutes. i've had mixed results trying to use Splunk's CFN and ansible tasks for several reasons - so i've rolled my own.
i'm a hands on guy - so here's a code snippet for your reference:
https://bitbucket.org/snippets/asecurityteam/58G8X
there are a few caveats worth explaining though about our setup:
{ "Ref" : "SplunkSearchLoadBalancerSSLCert" }
refers to the cert's ARN"SecurityGroups" : [ { "Ref" : "SplunkSearchLoadBalancerSG" } ]
Not supported. You can do HTTPS -> HTTPS with the ELB, as far as I know that's still the best option. Still waiting on SPL-79993.
I am no load balancer expert, but we had exactly the same behaviour with an F5 and our LB engineer enabled a setting to "rewrite_all" of the redirects. It sounds like you could do the same on your LB.
I originally downvoted it to try and simply even the score back to 0, but it went to -1...
but more importantly because i felt the this post didn't directly address the AWS focus of the question. and as @jnicholsenernoc mentioned there is no option for rewriting. even worse - splunk doesn't give a nice "how to" guide for AWS so it can be quite daunting to set it up if you're an AWS newbie. like F5's - AWS has a number of options you have to tune the LB group which can be rather confusing.
so the conjecture in this case while well-intentioned, was ultimately not useful.
Gee, load balancer question. Load balancer answer. Actually, a correct answer for many LB technologies, but whatever.
Unfortunately, there isn't a "rewrite_all" option for an Amazon ELB like there is for an F5 LB.