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:
parent
4978adf39e
commit
85d319d9e9
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user