diff --git a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap index 47817a29b2a17..219c2de675359 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap +++ b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap @@ -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": { diff --git a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts index cb1d692c43844..876573f2270ea 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts +++ b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts @@ -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',