From 62e4d4bf07232f4e2d2aaf0a978b9b6a40111831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 22 Oct 2024 14:13:56 +0200 Subject: [PATCH] Apply states-vulnerabilities index pattern fix (#483) * Remove tailing hyphen from the states-vulnerabilities index pattern * Use latest version of the states-vulnerabilities index template For real this time --- .../fields/template-settings-legacy.json | 4 ++-- ecs/states-vulnerabilities/fields/template-settings.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ecs/states-vulnerabilities/fields/template-settings-legacy.json b/ecs/states-vulnerabilities/fields/template-settings-legacy.json index aaaabb8d098d1..10c79768a99ea 100644 --- a/ecs/states-vulnerabilities/fields/template-settings-legacy.json +++ b/ecs/states-vulnerabilities/fields/template-settings-legacy.json @@ -1,14 +1,14 @@ { - "index_patterns": ["wazuh-states-vulnerabilities-*"], + "index_patterns": ["wazuh-states-vulnerabilities*"], "order": 1, "settings": { "index": { - "codec": "best_compression", "number_of_shards": "1", "number_of_replicas": "0", "refresh_interval": "5s", "query.default_field": [ "agent.id", + "agent.group", "host.os.full", "host.os.version", "package.name", diff --git a/ecs/states-vulnerabilities/fields/template-settings.json b/ecs/states-vulnerabilities/fields/template-settings.json index ebcf6fa1a8f4c..66db0f6ad7377 100644 --- a/ecs/states-vulnerabilities/fields/template-settings.json +++ b/ecs/states-vulnerabilities/fields/template-settings.json @@ -1,15 +1,15 @@ { - "index_patterns": ["wazuh-states-vulnerabilities-*"], + "index_patterns": ["wazuh-states-vulnerabilities*"], "priority": 1, "template": { "settings": { "index": { - "codec": "best_compression", "number_of_shards": "1", "number_of_replicas": "0", "refresh_interval": "5s", "query.default_field": [ "agent.id", + "agent.group", "host.os.full", "host.os.version", "package.name",