diff --git a/modules/openstack_project/templates/logstash/indexer.conf.erb b/modules/openstack_project/templates/logstash/indexer.conf.erb index 1531a41b0c..4a567807f6 100644 --- a/modules/openstack_project/templates/logstash/indexer.conf.erb +++ b/modules/openstack_project/templates/logstash/indexer.conf.erb @@ -114,8 +114,8 @@ filter { } output { - elasticsearch_http { - host => "localhost" + elasticsearch { + hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.to_s %> manage_template => false flush_size => 1024 }