Here’s the translation of your text into English:
Hi,
I had a similar problem last week, which is now resolved.
I also had unassigned shards. I stopped fluent-bit (in your case, it might be filebeat) to prevent new events from being written to the indexer. Then I deleted all yellow indices and fixed my index template, which was faulty (I had set the replicas too high. Replica 1 worked for me).
With the Vulnerability Module, I searched for a long time. Sometimes it worked, sometimes it didn’t. Eventually, I noticed that depending on which Wazuh manager cluster node the agent was connected to, it either worked or didn’t.
The solution was that I reissued all the certificates using the wazuh-certs-tool. Additionally, I created an index admin user with the name "indexer" and added it to the Wazuh manager keystore, as described in the documentation.
I restarted all the servers briefly, and everything worked again.
I hope this helps you.