Upgrade elasticsearch to version 0.90.3.

* modules/openstack_project/manifests/elasticsearch.pp: Upgrade
elasticsearch to 0.90.3 to support logstash 1.2.1. This version is
required to use the elasticsearch output in logstash 1.2.1.

* modules/elasticsearch/files/elasticsearch.mapping.json: Add setting
for new "message" field in logstash 1.2.1's new schema.

Change-Id: Ice1a8613ea11aeb954c600752a2de745dd56ef4b
This commit is contained in:
Clark Boylan 2013-10-16 11:33:11 -07:00
parent 4d1f72b713
commit 0423b59c6c
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,8 @@
],
"properties" : {
"@fields": { "type": "object", "dynamic": true, "path": "full" },
"@message" : { "type" : "string", "index" : "analyzed" }
"@message" : { "type" : "string", "index" : "analyzed" },
"message" : { "type" : "string", "index" : "analyzed" }
}
}
}

View File

@ -34,6 +34,7 @@ class openstack_project::elasticsearch_node (
class { '::elasticsearch':
discover_nodes => $discover_nodes,
version => '0.90.3',
}
cron { 'delete_old_es_indices':