Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The wazuh-statistics index shards do not match the cron.statistics.shards value #2732

Closed
Phandora opened this issue Jan 5, 2021 · 0 comments · Fixed by #2779
Closed

The wazuh-statistics index shards do not match the cron.statistics.shards value #2732

Phandora opened this issue Jan 5, 2021 · 0 comments · Fixed by #2779
Assignees
Labels
type/bug Bug issue

Comments

@Phandora
Copy link

Phandora commented Jan 5, 2021

Wazuh Elastic Rev
4.0.3 7.9.1 4015

Description

The wazuh-statistics index is created with 2 shards regardless of the cron.statistics.shards setting value.

Steps to reproduce

  1. Use the following setting in the wazuh.yml file:
cron.statistics.index.creation: m
cron.statistics.shards: 1
...
  1. Check the wazuh-statistics index:
green open wazuh-statistics-2021.01                aeStzeKiSCaMKAfLQU8kqw 2 0  2  0  22.4kb  22.4kb

The index is created monthly but with 2 primary shards instead of 1, and 0 replicas (default value)

Additional context

After deleting the wazuh-statistics-2021.01 index, it is recreated again with the same number of primary shards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
3 participants