Merge "Update String type for Monasca ES template"

This commit is contained in:
Zuul 2021-02-16 17:11:55 +00:00 committed by Gerrit Code Review
commit 90a079b8a7
2 changed files with 12 additions and 6 deletions

View File

@ -13,9 +13,9 @@
"fielddata": { "fielddata": {
"format": "disabled" "format": "disabled"
}, },
"index": "analyzed", "index": true,
"omit_norms": true, "omit_norms": true,
"type": "string" "type": "text"
}, },
"match": "message", "match": "message",
"match_mapping_type": "string" "match_mapping_type": "string"
@ -24,8 +24,8 @@
{ {
"other_fields": { "other_fields": {
"mapping": { "mapping": {
"index": "not_analyzed", "index": true,
"type": "string" "type": "keyword"
}, },
"match": "*", "match": "*",
"match_mapping_type": "string" "match_mapping_type": "string"
@ -37,8 +37,8 @@
"type": "date" "type": "date"
}, },
"@version": { "@version": {
"index": "not_analyzed", "index": true,
"type": "string" "type": "keyword"
}, },
"creation_time": { "creation_time": {
"type": "date" "type": "date"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes `LP#1892376
<https://bugs.launchpad.net/kolla-ansible/+bug/1892376>`__ by updating
deprecated syntax in the Monasca Elasticsearch template.