Hi there,
Just upgraded my Wazuh cluster from 4.4.2 to 4.5.2 follwing the upgrade procedure in the docs. No errors during the upgrade, but I don't see anything on the Wazuh dashboard, just "There are no results for selected time range. Try another one."
If I extend the time range I surely see my old alerts. I tried looking for obvious issues in logs, and one that looks to have issues is Filebeat (7.10.2). The /var/log/filebeat/filebeat looks like this
2023-09-12T12:27:38.114+0200 ERROR [elasticsearch] elasticsearch/client.go:224 failed to perform any bulk index operations: 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"},"status":400}
2023-09-12T12:27:38.249+0200 ERROR [publisher_pipeline_output] pipeline/output.go:180 failed to publish events: 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"},"status":400}
2023-09-12T12:27:38.249+0200 INFO [publisher_pipeline_output] pipeline/output.go:143 Connecting to backoff(elasticsearch(\`https://<my-ip>:9200``))`
2023-09-12T12:27:38.249+0200 INFO [publisher] pipeline/retry.go:213 retryer: send wait signal to consumer
2023-09-12T12:27:38.249+0200 INFO [publisher] pipeline/retry.go:217 done
For the sake of it I did upgrade a lab-cluster as well, and got the same issues. Despite this, I do get a few Slack notifications for some of the alerts that I have configured, so it's not totally broken...
For the reference, my cluster consists of 3 indexer-nodes, 3 manger-nodes, 1 dashboard, plus an nginx LB-setup for the manager nodes. All updated Debian 11 VMs. Been working perfectly since May, so hopefully there is an easy fix for this.
Thanks!