From 5c141b464a0483b1230320e083d589f1614f4efa Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Fri, 6 Sep 2013 21:38:48 +0000 Subject: [PATCH] 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 --- modules/logstash/templates/kibana.vhost.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/logstash/templates/kibana.vhost.erb b/modules/logstash/templates/kibana.vhost.erb index 419f205089..397c0277e4 100644 --- a/modules/logstash/templates/kibana.vhost.erb +++ b/modules/logstash/templates/kibana.vhost.erb @@ -10,7 +10,7 @@ <% if proxy_elasticsearch == true %> # Proxy for elasticsearch _aliases, .*/_status, and .*/_search. - + ProxyPassMatch http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/$1 connectiontimeout=5 timeout=120 ProxyPassReverse /elasticsearch/ http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/