diff --git a/x-pack/plugins/observability_ai_assistant/server/service/index.ts b/x-pack/plugins/observability_ai_assistant/server/service/index.ts index c116e16d27471..978a8a2de6111 100644 --- a/x-pack/plugins/observability_ai_assistant/server/service/index.ts +++ b/x-pack/plugins/observability_ai_assistant/server/service/index.ts @@ -60,9 +60,6 @@ export class ObservabilityAIAssistantService { conversations: getResourceName('index-template-conversations'), kb: getResourceName('index-template-kb'), }, - ilmPolicy: { - conversations: getResourceName('ilm-policy-conversations'), - }, pipelines: { kb: getResourceName('kb-ingest-pipeline'), }, @@ -112,23 +109,6 @@ export class ObservabilityAIAssistantService { template: conversationComponentTemplate, }); - await esClient.ilm.putLifecycle({ - name: this.resourceNames.ilmPolicy.conversations, - policy: { - phases: { - hot: { - min_age: '0s', - actions: { - rollover: { - max_age: '90d', - max_primary_shard_size: '50gb', - }, - }, - }, - }, - }, - }); - await esClient.indices.putIndexTemplate({ name: this.resourceNames.indexTemplate.conversations, composed_of: [this.resourceNames.componentTemplate.conversations], diff --git a/x-pack/plugins/observability_ai_assistant/server/service/types.ts b/x-pack/plugins/observability_ai_assistant/server/service/types.ts index ee44b1beac90f..39c2b29dbb026 100644 --- a/x-pack/plugins/observability_ai_assistant/server/service/types.ts +++ b/x-pack/plugins/observability_ai_assistant/server/service/types.ts @@ -14,9 +14,6 @@ export interface ObservabilityAIAssistantResourceNames { conversations: string; kb: string; }; - ilmPolicy: { - conversations: string; - }; aliases: { conversations: string; kb: string;