Hi Lucas,
thank you for using Wazuh!
I see you are getting a problem removing the Wazuh plugin from the Kibana.
Could you review the folders under the
/usr/share/kibana/plugins directory?
ls /usr/share/kibana/plugins
If you have a folder called
wazuh and you want to reinstall the plugin, then:
1. Remove the wazuh plugin:
- Via the kibana-plugin:
cd /usr/share/kibana
bin/kibana-plugin remove wazuh
- If the previous step doesn't work. Try to remove the directory of the wazuh plugin
rm -rf /usr/share/kibana/plugins/wazuh
After, you could review the plugin was removed:
cd /usr/share/kibana
bin/kibana-plugin list
2. Install the Wazuh plugin.
The plugin to install depends on your Wazuh version and Kibana version. You can check the compatibility matrix Wazuh app-Kibana
https://github.com/wazuh/wazuh-kibana-app/wiki/Compatibility#compatibility-matrix.
2.1 Install the Wazuh plugin:
cd /usr/share/kibana
bin/kibana-plugin install <plugin_url>where:
- <plugin_url> is the URL of the Wazuh plugin where it is hosted, you can get this URL from the compatibility matrix
https://github.com/wazuh/wazuh-kibana-app/wiki/Compatibility#compatibility-matrix.
2.2. Restart the Kibana service.
Depending on your service manager:
- systemctl
systemctl restart kibana
- sysV init
service kibana restart
If you continue getting the error
FATAL Error: Plugin with id "wazuh" is already registered! try to restart the machine.