johnsusek / praeco

Elasticsearch alerting made simple.
GNU General Public License v3.0
549 stars 88 forks source link

Can Praeco used for alerting for an elasticsearch Cluster? #645

Closed ishukeshri2712 closed 5 months ago

ishukeshri2712 commented 5 months ago

Can Praeco used for elasticsearch cluster?

nsano-rururu commented 5 months ago

No

ishukeshri2712 commented 5 months ago

So you are saying it is for only one node elasticsearch cluster?

nsano-rururu commented 5 months ago

Yes

nsano-rururu commented 5 months ago

At least elastalert-server is not supported. elastalert2 may have supported it. Please see the documentation. https://elastalert2.readthedocs.io/en/latest/index.html#

nsano-rururu commented 5 months ago

look https://github.com/jertel/elastalert2/pull/548

nsano-rururu commented 5 months ago

https://github.com/jertel/elastalert2/discussions/401

ishukeshri2712 commented 5 months ago

It use’s elastalert2 right?

nsano-rururu commented 5 months ago

You are using the correct one. elastalert-server does not support all the features of elstalert2.

nsano-rururu commented 5 months ago

Elastalert2 has a publicly available Docker image, so if you want to use all of its features, you should not use praeco. https://github.com/jertel/elastalert2

nsano-rururu commented 5 months ago

praeco, elastalert-server are not official tools.

ishukeshri2712 commented 5 months ago

I have required in my company where I have an elasticsearch cluster and I want to send alerts on the basis of certain events in this elasticsearch cluster is it possible through praeco?

nsano-rururu commented 5 months ago

Bugs found during the development of praeco and elastalert-server are fed back to elastalert2. I have also submitted a pull request for elastalert2.

nsano-rururu commented 5 months ago

elasetalert-server and praeco are set to only have one es_host connection. If the one connection destination remains the same and the active and standby servers are switched due to synchronization in the background, I think praeco/elastalert-server should be able to handle it. I haven't tried it, so it's just a guess.

ishukeshri2712 commented 5 months ago

Ok thank you I could have used elastalert2 but in my company the requirement is that we should add alerting rules through UI only not going to server so I m using this tool