elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Does es_host support elasticsearch HA mode?

Open neizmirasego opened this issue 9 years ago • 2 comments

Hi! In all examples I saw es_host property has certain elasticseach hostname. I am wondering if elastalert support elasticsearch HA mode? It would be very nice if it could switch to another host in ES cluster in case the first one is down. Otherwise we won't receive alerts in case of one node from cluster that elastalert is watching to is down.

Thanks in advance for any comments! Alexey

neizmirasego avatar Sep 28 '17 11:09 neizmirasego

@neizmirasego Please use haproxy in front of elasticsearch . This helps to accomplish ha mode for elastalert.

sathishdsgithub avatar Sep 28 '17 13:09 sathishdsgithub

ok, thanks! Fortunately we have already installed haproxy in our environment, so no additional installation are needed.

neizmirasego avatar Sep 28 '17 17:09 neizmirasego