Removing old index patterns that are not expected in 7.0.0 onwards (#27915)
A monitoring cluster running Elasticsearch 7.0.0+ should never see `.monitoring-*-2-*` indices being created by the production cluster writing to it. So the Kibana Monitoring UI doesn't need to search against these indices any more.
This commit is contained in:
parent
617ecdd73e
commit
eace67bbf6
|
@ -30,16 +30,16 @@ export const config = (Joi) => {
|
||||||
}).default()
|
}).default()
|
||||||
}).default()
|
}).default()
|
||||||
}).default(),
|
}).default(),
|
||||||
index_pattern: Joi.string().default('.monitoring-*-2-*,.monitoring-*-6-*'),
|
index_pattern: Joi.string().default('.monitoring-*-6-*'),
|
||||||
kibana: Joi.object({
|
kibana: Joi.object({
|
||||||
index_pattern: Joi.string().default('.monitoring-kibana-2-*,.monitoring-kibana-6-*'),
|
index_pattern: Joi.string().default('.monitoring-kibana-6-*'),
|
||||||
collection: Joi.object({
|
collection: Joi.object({
|
||||||
enabled: Joi.boolean().default(true),
|
enabled: Joi.boolean().default(true),
|
||||||
interval: Joi.number().default(10000) // op status metrics get buffered at `ops.interval` and flushed to the bulk endpoint at this interval
|
interval: Joi.number().default(10000) // op status metrics get buffered at `ops.interval` and flushed to the bulk endpoint at this interval
|
||||||
}).default()
|
}).default()
|
||||||
}).default(),
|
}).default(),
|
||||||
logstash: Joi.object({
|
logstash: Joi.object({
|
||||||
index_pattern: Joi.string().default('.monitoring-logstash-2-*,.monitoring-logstash-6-*')
|
index_pattern: Joi.string().default('.monitoring-logstash-6-*')
|
||||||
}).default(),
|
}).default(),
|
||||||
beats: Joi.object({
|
beats: Joi.object({
|
||||||
index_pattern: Joi.string().default('.monitoring-beats-6-*')
|
index_pattern: Joi.string().default('.monitoring-beats-6-*')
|
||||||
|
@ -62,7 +62,7 @@ export const config = (Joi) => {
|
||||||
}).default(),
|
}).default(),
|
||||||
elasticsearch: Joi.object({
|
elasticsearch: Joi.object({
|
||||||
customHeaders: Joi.object().default({}),
|
customHeaders: Joi.object().default({}),
|
||||||
index_pattern: Joi.string().default('.monitoring-es-2-*,.monitoring-es-6-*'),
|
index_pattern: Joi.string().default('.monitoring-es-6-*'),
|
||||||
logQueries: Joi.boolean().default(false),
|
logQueries: Joi.boolean().default(false),
|
||||||
requestHeadersWhitelist: Joi.array().items().single().default(DEFAULT_REQUEST_HEADERS),
|
requestHeadersWhitelist: Joi.array().items().single().default(DEFAULT_REQUEST_HEADERS),
|
||||||
sniffOnStart: Joi.boolean().default(false),
|
sniffOnStart: Joi.boolean().default(false),
|
||||||
|
|
Loading…
Reference in a new issue