wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Issues performing healthchecks when the Wazuh app starts

Open Phandora opened this issue 4 years ago • 1 comments

Wazuh Elastic Rev
4.0 7.9.1 4008

Description

When the Wazuh app starts, depending on the configuration set in the wazuh.yml the app has odd behavior.

Custom settings are ignored and default ones are used

Steps to reproduce

  1. Use the following settings in wazuh.yml (there are no hosts' settings, so it is not possible to communicate with the API):
pattern: "*:wazuh-alerts"
checks.pattern: false
hosts:
  1. Go to Wazuh app

Screenshots

image

  • It attempts to create wazuh-alerts-* index pattern (default one) instead of *:wazuh-alerts
  • The checks.pattern setting is also ignored.

Getting started does not appear

Steps to reproduce

  1. Use the following settings in wazuh.yml (the hosts' settings are not valid, so it is not possible to communicate with the API):
checks.pattern: false
hosts:
  - default:
      url: https://localhost
      port: 55000
      username: xxx
      password: xxx
  1. Go to Wazuh app

Screenshots

image

  1. It stays in the loop: Could not select any API entry

Additional context

The same happens when adding the following settings:

checks.api     : false
checks.setup   : false

Phandora avatar Nov 20 '20 11:11 Phandora

related to https://github.com/wazuh/wazuh-kibana-app/issues/2910

frankeros avatar Mar 25 '21 13:03 frankeros