Hi
Alex Cardona
It appears that the issue might be related to remnants of the previous Elasticsearch installation causing conflicts or misconfigurations. Before proceeding with the new Wazuh All-in-one installation, ensure that all remnants of the previous Elasticsearch installation, including configuration files and data directories, are completely removed.
You can follow the steps outlined in the Wazuh documentation for uninstalling the Elastic Stack to thoroughly clean up any leftover files and configurations:
Uninstall Elastic StackAdditionally, it seems there might be a version mismatch between Filebeat and Elasticsearch, with Filebeat trying to connect to the previous Elasticsearch installation instead of the Wazuh indexer. If your Filebeat is X-Pack, version non-OSS and your Elasticsearch is OSS, this could cause compatibility issues.
I recommend you to follow the
wazuh-indexer installation guide provided in the wazuh documentation, and the
Wazuh server installation guide from the documentation as well, keeping both installations in the same version for avoiding incompatibility issues