Set ElasticSearch output node name to hostname.

* modules/openstack_project/templates/logstash/indexer.conf.erb: Set the
node name parameter in the ElasticSearch output template to be the
hostname of the host running logstash.

Change-Id: I8ade373403ca59d6d5768df175405167c9c8b4be
Reviewed-on: https://review.openstack.org/30925
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-05-29 11:36:28 -07:00 committed by Jenkins
parent a5f8f1d12a
commit fa476974c2
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ filter {
output {
elasticsearch {
host => "elasticsearch.openstack.org"
node_name => "logstash-indexer"
node_name => "<%= scope.lookupvar("::hostname") %>"
max_inflight_requests => 512
}
}