Hi. We discovered it was a network issue. For some reason, pfSenses continued sending logs, but wazuh stopped reading, which made the network where the server is located unstable.
Just for the record, I updated all wazuh installations to the latest version, which are in the all in one model and AlmaLinux 9.3 (even though it's not one of the main ones, I can say that it works normally as if it were a version of rhel). I will also note the command to check modules. I will send some logs, so in case anyone finds this topic and comes across them, maybe it can help, perhaps identify error 3099.
Command: cat /var/log/filebeat/filebeat | grep -i -E "error|warn"
Log: ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://127.0.0.1:9200)): Connection marked as failed because the onConnect callback failed: 1 error: Error loading pipeline for fileset wazuh/alerts: couldn't load pipeline: couldn't load json. Error: 503 Service Unavailable: {"error":{"root_cause":[{"type":"cluster_manager_not_discovered_exception","reason":null}],"type":"cluster_manager_not_discovered_exception","reason":null},"status":503}. Response body: {"error":{"root_cause":[{"type":"cluster_manager_not_discovered_exception","reason":null}],"type":"cluster_manager_not_discovered_exception","reason":null},"status":503}
Unfortunately, other logs have already been rewritten, but they all point to API timeout. I have some records but I don't remember exactly what the files are:
Error: 3002 - Request failed with status code 500 at Function._callee$
illegal_argument_exception
So again, thanks for the help, I managed to learn where to check important information and it even helped me plan an alternative to network logs.