Hi Anil Kumar,
Indexer-connector: WARNING: Failed to sync agent 'id' with the indexer.
There are two possible causes for this error
If your indexer connector isn't in 'green' state or if you have a problem with the certs/credentials, the connection won't be possible and the agent vulnerabilities won't be indexed
There is a cool-down time that prevents the same agent to re-sync with the indexer too often, this is to avoid overloading the indexer with requests. If everything is OK, the module will try again later.
Can you verify the health of your Wazuh Indexer cluster? For example: GET _cluster/health
Index management > Dev Tools
Did you update the wazuh-keystore in the upgrade steps? Check the corresponding guide at https://documentation.wazuh.com/current/upgrade-guide/upgrading-central-components.html
You must have your cluster in green status because the indexer_module won't sync the vulnerabilities otherwise. It might be related to the unassigned_shards you show in the health command.
Can you please remove the unassigned indexer using this command:
curl -k -XGET -u user:pass "https://<elasticsearxch>:9200/_cat/shards" | grep UNASSIGNED | awk '{print $1}' | xargs -i curl -k -XDELETE -u user:pass "https://<indexer_ip>:9200/{}"
To get more information if the error persists, temporarily enable wazuh_modules.debug=2 in /var/ossec/etc/local_internal_options.conf . Restart the wazuh-manager and share the /var/ossec/logs/ossec.log
Let me know if you need further assistance on this.