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",