From 9416552338c6f7fbc85ea0eb853420b6bfedae90 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 12 Jan 2023 15:25:35 -0500 Subject: [PATCH 1/2] Don't set the Kratos index explicitly --- salt/elasticsearch/files/ingest/kratos | 7 ------- 1 file changed, 7 deletions(-) diff --git a/salt/elasticsearch/files/ingest/kratos b/salt/elasticsearch/files/ingest/kratos index dc93e888d..c55ebd60a 100644 --- a/salt/elasticsearch/files/ingest/kratos +++ b/salt/elasticsearch/files/ingest/kratos @@ -1,13 +1,6 @@ { "description" : "kratos", "processors" : [ - { - "set": { - "field": "_index", - "value": "so-kratos", - "override": true - } - }, { "pipeline": { "name": "common" } } ] } From fb8d8ea9725197775aa723f69cd904122c27c1da Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 12 Jan 2023 15:31:41 -0500 Subject: [PATCH 2/2] Update Elasticsearch index template for Kratos --- salt/elasticsearch/defaults.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/elasticsearch/defaults.yaml b/salt/elasticsearch/defaults.yaml index 92c5c6e13..dd542a865 100644 --- a/salt/elasticsearch/defaults.yaml +++ b/salt/elasticsearch/defaults.yaml @@ -2667,7 +2667,7 @@ elasticsearch: index_sorting: False index_template: index_patterns: - - so-kratos-* + - logs-*-kratos_so template: mappings: dynamic_templates: