IndexerConnector failed

17 views
Skip to first unread message

David Lima

unread,
May 7, 2026, 12:24:11 PM (3 days ago) May 7
to Wazuh | Mailing List
Hello,All

<!-- ERRORS -->
I'm having a problem with my indexerconnector. it fails everytime. I've already tried to set the username and password multiple times in the wazuh-keystore and tried my certificates and credentials (all running ok).

I had the same error a while ago and it worked after setting the user and pass on the keystore, but now not even that works.

May 7, 2026 @ 09:16:03.000 indexer-connector WARNING  IndexerConnector initialization failed for index 'wazuh-states-inventory-system-wazuh', retrying until the connection is successful.
May 7, 2026 @ 09:16:01.000 indexer-connector WARNING  IndexerConnector initialization failed for index 'wazuh-states-inventory-packages-wazuh', retrying until the connection is successful.

!-- OSSEC CONF FOR INDEXER CONNECTOR -->
  <indexer>
    <enabled>yes</enabled>
    <hosts>
      <host>https://10.0.52.86:9200</host>
    </hosts>
    <ssl>
      <certificate_authorities>
        <ca>/etc/filebeat/certs/root-ca.pem</ca>
      </certificate_authorities>
      <certificate>/etc/filebeat/certs/filebeat.pem</certificate>
      <key>/etc/filebeat/certs/filebeat-key.pem</key>
    </ssl>
  </indexer>
Message has been deleted

Md. Nazmur Sakib

unread,
May 8, 2026, 3:08:10 AM (2 days ago) May 8
to Wazuh | Mailing List

Hi David,

Review the <indexer> configuration block in ossec.conf based on this doc.
Wazuh manager configuration


Make sure to replace <host>https://10.0.52.86:9200</host> with the IP address or hostname of your Wazuh indexer node, as it is defined in the filebeat configuration. You can find this value in the Filebeat configuration file at /etc/filebeat/filebeat.yml. Ensure that the <certificate> and <key> names match the files located in /etc/filebeat/certs/.

Save the Wazuh indexer username and password in the Wazuh manager keystore.

echo 'admin' | /var/ossec/bin/wazuh-keystore -f indexer -k username

echo 'admin_PASSWORD' | /var/ossec/bin/wazuh-keystore -f indexer -k password

Replace admin_PASSWORD with the password of the admin user.

Now, restart the Wazuh manager and wait for a few minutes

systemctl restart wazuh-manager

Wait for a few sec and check the ossec.log. Check if you have a log of vulnerability index created successfully.
cat /var/ossec/logs/ossec.log | grep -i -E "vulnerability|indexer-connector"

If it still doesn't work, share the output of these commands.

head /etc/filebeat/filebeat.yml

ls /etc/filebeat/certs/
cat /var/ossec/logs/ossec.log | grep -i -E "error|warn"

cat /var/ossec/logs/ossec.log | grep -i -E "vulnerability|indexer-connector"


Let me know the update on the issue.

Reply all
Reply to author
Forward
0 new messages