Use ruby 1.8 compat erb for logstash config

The old logstash config was not ruby 1.8 compatible and we got funny
results out of it. This version should work with ruby 1.8 and beyond.

Change-Id: Ibe824dda7c96e5b333329ce25f65a14d3ebdef9c
This commit is contained in:
Clark Boylan 2016-03-10 15:12:01 -08:00
parent 4978adf39e
commit 85d319d9e9

View File

@ -117,7 +117,7 @@ filter {
output { output {
elasticsearch { elasticsearch {
hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.to_s %> hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.inspect %>
manage_template => false manage_template => false
flush_size => 1024 flush_size => 1024
} }