From 190c6f99ef22ff9b1f89e35dc971f6331023ef7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Thu, 5 Oct 2023 12:04:34 +0200 Subject: [PATCH] Update template settings --- .../fields/template-settings-legacy.json | 2 ++ ecs/vulnerability-detector/fields/template-settings.json | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ecs/vulnerability-detector/fields/template-settings-legacy.json b/ecs/vulnerability-detector/fields/template-settings-legacy.json index 3cf309406aa61..21ee9e7a850fc 100644 --- a/ecs/vulnerability-detector/fields/template-settings-legacy.json +++ b/ecs/vulnerability-detector/fields/template-settings-legacy.json @@ -11,6 +11,8 @@ "limit": 1000 } }, + "number_of_shards": "1", + "number_of_replicas": "0", "refresh_interval": "2s" } } diff --git a/ecs/vulnerability-detector/fields/template-settings.json b/ecs/vulnerability-detector/fields/template-settings.json index 6438884e99c26..bf2dcb4216aff 100644 --- a/ecs/vulnerability-detector/fields/template-settings.json +++ b/ecs/vulnerability-detector/fields/template-settings.json @@ -11,7 +11,10 @@ "total_fields": { "limit": 2000 } - } + }, + "number_of_shards": "1", + "number_of_replicas": "0", + "refresh_interval": "2s" } } }