systemctl status filebeat -lfilebeat test configtail -n 20 /var/log/filebeat/filebeat
systemctl restart filebeat
systemctl restart filebeat
curl ELASTIC_IP:9200?pretty
/usr/share/kibana/bin/kibana --version
/usr/share/filebeat/bin/filebeat version
/usr/share/logstash/bin/logstash --version
cat /var/ossec/etc/ossec-init.confcat /var/ossec/api/package.json
cat /usr/share/kibana/plugins/wazuh/package.json
Hi Hich, and sorry for the late response.
When using Elastic Stack, all components (Filebeat, Elasticsearch, Kibana ...) should have a similar version to work properly. Moreover, you are using an old version of Elastic which is not compatible with Wazuh 3.9 (https://documentation.wazuh.com/3.9/installation-guide/compatibility_matrix/index.html#api-and-kibana-app).
I think the best solution should be to upgrade Elastic Stack. If you decide to upgrade we have several guides to do so.
First, you will need to upgrade from 6.3 to 6.8 following this guide:
And then, upgrade from 6.8 to 7.3.0:
If you decide to upgrade, you must do the same with Wazuh. Here you can see how to do it:
Starting from 3.9.x Wazuh does not require having Logstash by default and Filebeat forward the alerts directly to Elasticsearch. If you have a requirement to keep Logstash and as you are using a single host architecture (Wazuh & ELK stack in same box) Filebeat won't be need in this use case.
Let me know if you need anything.
Regards,
Javier