Skip to content

Commit

Permalink
Apply states-vulnerabilities index pattern fix (#483)
Browse files Browse the repository at this point in the history
* Remove tailing hyphen from the states-vulnerabilities index pattern

* Use latest version of the states-vulnerabilities index template

For real this time
  • Loading branch information
AlexRuiz7 authored Oct 22, 2024
1 parent 4a91008 commit 62e4d4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions ecs/states-vulnerabilities/fields/template-settings.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 62e4d4b

Please sign in to comment.