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