rename ilm policy to remove -default (#71952)

This commit is contained in:
Sandra Gonzales 2020-07-15 19:04:23 -04:00 committed by GitHub
parent 978c261343
commit 037333695d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ exports[`tests loading base.yml: base.yml 1`] = `
"settings": {
"index": {
"lifecycle": {
"name": "logs-default"
"name": "logs"
},
"codec": "best_compression",
"mapping": {
@ -113,7 +113,7 @@ exports[`tests loading coredns.logs.yml: coredns.logs.yml 1`] = `
"settings": {
"index": {
"lifecycle": {
"name": "logs-default"
"name": "logs"
},
"codec": "best_compression",
"mapping": {
@ -216,7 +216,7 @@ exports[`tests loading system.yml: system.yml 1`] = `
"settings": {
"index": {
"lifecycle": {
"name": "metrics-default"
"name": "metrics"
},
"codec": "best_compression",
"mapping": {

View file

@ -262,7 +262,7 @@ function getBaseTemplate(
index: {
// ILM Policy must be added here, for now point to the default global ILM policy name
lifecycle: {
name: `${type}-default`,
name: type,
},
// What should be our default for the compression?
codec: 'best_compression',