[7.x] [Monitoring] Add `usage` mapping for `monitoring-kibana` index (#40899) (#41601)

Backports the usage change to 7.x. A separate backport is needed to
change the version for 6.7, which will complete this backport.
This commit is contained in:
Chris Earle 2019-04-26 16:44:03 -04:00 committed by GitHub
parent 22f3b53ed7
commit 858e7f4a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 6 deletions

View File

@ -29,7 +29,7 @@ public final class MonitoringTemplateUtils {
* <p>
* It may be possible for this to diverge between templates and pipelines, but for now they're the same.
*/
public static final int LAST_UPDATED_VERSION = Version.V_7_0_0.id;
public static final int LAST_UPDATED_VERSION = Version.V_7_0_1.id;
/**
* Current version of templates used in their name to differentiate from breaking changes (separate from product version).

View File

@ -1,6 +1,6 @@
{
"index_patterns": [ ".monitoring-alerts-${monitoring.template.version}" ],
"version": 7000099,
"version": 7000199,
"settings": {
"index": {
"number_of_shards": 1,

View File

@ -9,7 +9,7 @@
"index.number_of_replicas": 0,
"index.number_of_shards": 1
},
"version": 7000099,
"version": 7000199,
"mappings": {
"_doc": {
"dynamic": false,

View File

@ -1,6 +1,6 @@
{
"index_patterns": [ ".monitoring-es-${monitoring.template.version}-*" ],
"version": 7000099,
"version": 7000199,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0,

View File

@ -1,6 +1,6 @@
{
"index_patterns": [ ".monitoring-kibana-${monitoring.template.version}-*" ],
"version": 7000099,
"version": 7000199,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0,
@ -50,6 +50,13 @@
},
"kibana_stats": {
"properties": {
"usage": {
"properties": {
"index": {
"type": "keyword"
}
}
},
"kibana": {
"properties": {
"uuid": {

View File

@ -1,6 +1,6 @@
{
"index_patterns": [ ".monitoring-logstash-${monitoring.template.version}-*" ],
"version": 7000099,
"version": 7000199,
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0,