X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Ffiles%2Fes_template_notification.json;h=1a74f3e89718dc29945373f2da1ceea89f9c5c2c;hp=e19c9077899d946e4b2284980d6ccf660e5bb1c2;hb=06f51b7a2eb4bb069d1e4fe183fb71c78197f78e;hpb=74aa2d886e63e2ebd097bf183d20fe3aa4918dc2 diff --git a/elasticsearch/files/es_template_notification.json b/elasticsearch/files/es_template_notification.json index e19c907..1a74f3e 100644 --- a/elasticsearch/files/es_template_notification.json +++ b/elasticsearch/files/es_template_notification.json @@ -13,10 +13,6 @@ "index": "not_analyzed", "type": "string" }, - "programname": { - "index": "not_analyzed", - "type": "string" - }, "Hostname": { "index": "not_analyzed", "type": "string" @@ -33,10 +29,6 @@ "index": "not_analyzed", "type": "long" }, - "syslogfacility": { - "index": "not_analyzed", - "type": "long" - }, "Type": { "index": "not_analyzed", "type": "string" @@ -49,19 +41,7 @@ "index": "not_analyzed", "type": "string" }, - "openstack_role": { - "type": "string", - "analyzer": "ost_roles" - }, - "openstack_region": { - "index": "not_analyzed", - "type": "string" - }, - "openstack_release": { - "index": "not_analyzed", - "type": "string" - }, - "deployment_id": { + "region": { "index": "not_analyzed", "type": "string" }, @@ -84,26 +64,13 @@ "created_at": { "type": "date", "format": "dateOptionalTime" + }, + "publisher": { + "index": "not_analyzed", + "type": "string" } } } }, - "settings": { - "analysis": { - "tokenizer": { - "comma" : { - "type": "pattern", - "pattern": "," - } - }, - "analyzer": { - "ost_roles": { - "type": "custom", - "tokenizer": "comma", - "filter": ["lowercase"] - } - } - } - }, "template": "notification-*" }