Check alerts index Pattern, no template found

50 views
Skip to first unread message

Ethan Sprague

unread,
Mar 11, 2022, 1:29:13 PM3/11/22
to Wazuh mailing list
Hello,  I'm running into an issue on the dashboard where I am receiving the following error:
Screenshot 2022-03-11 122612.png

it shows this as a typical issue.. However when running this command I receive the following:
curl https://raw.githubusercontent.com/wazuh/wazuh/v4.2.5/extensions/elasticsearch/7.x/wazuh-template.json | curl -X PUT "https://localhost:9200/_template/wazuh" -H 'Content-Type: application/json' -d @- -u <elasticsearch_user>:<elasticsearch_password> -k
Screenshot 2022-03-11 122758.png

I think this may be an issue on the template communicating with Kibana, or lack of a template.. any ideas on what to do next?

Thank you,
Ethan

Sandra Ocando

unread,
Mar 14, 2022, 4:27:42 AM3/14/22
to Wazuh mailing list
Hello Ethan,

You need to replace <elasticsearch_user>:<elasticsearch_password> in the command with your username and password, for example:

curl https://raw.githubusercontent.com/wazuh/wazuh/v4.2.5/extensions/elasticsearch/7.x/wazuh-template.json | curl -X PUT "https://localhost:9200/_template/wazuh" -H 'Content-Type: application/json' -d @- -u admin:admin -k

Let us know if you have any questions.

Best regards,
Sandra.
Reply all
Reply to author
Forward
0 new messages