Poke a hole through the proxy for cluster health
Interesting read-only data on the elasticsearch cluster can be found at _cluster/health, this opens that url in the apache reverse proxy so that we can see the health of the cluster. Change-Id: I8d7a2eeec1f02aaa78af5f348b1ae91af76f522d
This commit is contained in:
parent
f916ed3b99
commit
5c141b464a
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<% if proxy_elasticsearch == true %>
|
<% if proxy_elasticsearch == true %>
|
||||||
# Proxy for elasticsearch _aliases, .*/_status, and .*/_search.
|
# Proxy for elasticsearch _aliases, .*/_status, and .*/_search.
|
||||||
<LocationMatch "^/elasticsearch/(_aliases|(.*/)?_status|(.*/)?_search)$">
|
<LocationMatch "^/elasticsearch/(_aliases|(.*/)?_status|(.*/)?_search|_cluster/health)$">
|
||||||
ProxyPassMatch http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/$1 connectiontimeout=5 timeout=120
|
ProxyPassMatch http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/$1 connectiontimeout=5 timeout=120
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
ProxyPassReverse /elasticsearch/ http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/
|
ProxyPassReverse /elasticsearch/ http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user