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:
parent
22f3b53ed7
commit
858e7f4a62
|
@ -29,7 +29,7 @@ public final class MonitoringTemplateUtils {
|
||||||
* <p>
|
* <p>
|
||||||
* It may be possible for this to diverge between templates and pipelines, but for now they're the same.
|
* 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).
|
* Current version of templates used in their name to differentiate from breaking changes (separate from product version).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"index_patterns": [ ".monitoring-alerts-${monitoring.template.version}" ],
|
"index_patterns": [ ".monitoring-alerts-${monitoring.template.version}" ],
|
||||||
"version": 7000099,
|
"version": 7000199,
|
||||||
"settings": {
|
"settings": {
|
||||||
"index": {
|
"index": {
|
||||||
"number_of_shards": 1,
|
"number_of_shards": 1,
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"index.number_of_replicas": 0,
|
"index.number_of_replicas": 0,
|
||||||
"index.number_of_shards": 1
|
"index.number_of_shards": 1
|
||||||
},
|
},
|
||||||
"version": 7000099,
|
"version": 7000199,
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"_doc": {
|
"_doc": {
|
||||||
"dynamic": false,
|
"dynamic": false,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"index_patterns": [ ".monitoring-es-${monitoring.template.version}-*" ],
|
"index_patterns": [ ".monitoring-es-${monitoring.template.version}-*" ],
|
||||||
"version": 7000099,
|
"version": 7000199,
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.number_of_shards": 1,
|
"index.number_of_shards": 1,
|
||||||
"index.number_of_replicas": 0,
|
"index.number_of_replicas": 0,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"index_patterns": [ ".monitoring-kibana-${monitoring.template.version}-*" ],
|
"index_patterns": [ ".monitoring-kibana-${monitoring.template.version}-*" ],
|
||||||
"version": 7000099,
|
"version": 7000199,
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.number_of_shards": 1,
|
"index.number_of_shards": 1,
|
||||||
"index.number_of_replicas": 0,
|
"index.number_of_replicas": 0,
|
||||||
|
@ -50,6 +50,13 @@
|
||||||
},
|
},
|
||||||
"kibana_stats": {
|
"kibana_stats": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"usage": {
|
||||||
|
"properties": {
|
||||||
|
"index": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"kibana": {
|
"kibana": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"uuid": {
|
"uuid": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"index_patterns": [ ".monitoring-logstash-${monitoring.template.version}-*" ],
|
"index_patterns": [ ".monitoring-logstash-${monitoring.template.version}-*" ],
|
||||||
"version": 7000099,
|
"version": 7000199,
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.number_of_shards": 1,
|
"index.number_of_shards": 1,
|
||||||
"index.number_of_replicas": 0,
|
"index.number_of_replicas": 0,
|
||||||
|
|
Loading…
Reference in New Issue