
Check that Filebeat is working properly. Please run the command: filebeat test output
The output should be something similar to:
elasticsearch: https://127.0.0.1:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: 127.0.0.1
dial up... OK
TLS...
security: server's certificate chain verification is enabled
handshake... OK
TLS version: TLSv1.3
dial up... OK
talk to server... OK
version: 7.10.2
You can also manually add the index by running the following command:
curl https://raw.githubusercontent.com/wazuh/wazuh/v4.7.2/extensions/elasticsearch/7.x/wazuh-template.json | curl -X PUT "https://localhost:9200/_template/wazuh" -H 'Content-Type: application/json' -d @- -u indexer user: indexer password -k
You have also mentioned "I have installed and configured the indexer and the dashboard afresh and tried connecting with the old Wazuh serve" Can you please share the steps that you followed for this. IN any case you have the same certs that was genreted bu previous installation. for the error : API connection] No API available to connect"
Please share api.log
Reference: https://documentation.wazuh.com/current/user-manual/files-backup/restoring/index.html
Hope to hear from you soon.
