From 0ec0983d7bfd7318d2325cc482f5f38721f3a3e0 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 23 Feb 2023 08:57:30 -0500 Subject: [PATCH] Chane Elastalert to use hosntame --- salt/elastalert/elastalert_config.map.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/elastalert/elastalert_config.map.jinja b/salt/elastalert/elastalert_config.map.jinja index 15f9c8530..26ddc08c9 100644 --- a/salt/elastalert/elastalert_config.map.jinja +++ b/salt/elastalert/elastalert_config.map.jinja @@ -3,7 +3,7 @@ {% set elastalert_pillar = salt['pillar.get']('elastalert:config', {}) %} -{% do ELASTALERT.elastalert.config.update({'es_host': GLOBALS.manager_ip}) %} +{% do ELASTALERT.elastalert.config.update({'es_host': GLOBALS.manager}) %} {% do ELASTALERT.elastalert.config.update({'es_username': pillar.elasticsearch.auth.users.so_elastic_user.user}) %} {% do ELASTALERT.elastalert.config.update({'es_password': pillar.elasticsearch.auth.users.so_elastic_user.pass}) %}