您将如何设计一个系统,该系统可以根据某些条件对Elasticsearch上存储的数据生成警报?
我正在考虑一个类似于AWS CloudWatch的系统。
建议的警报系统应能够在以下条件下工作:
幼稚的方法是在将新记录添加到Elasticsearch或在指定时间间隔执行所有警报规则的服务/ lambda函数时应用所有警报条件,但是我真的怀疑像这样的系统能否满足所有条件。
最佳答案
您可能有兴趣了解有关X-Pack中警报功能的更多信息。它包括监视程序,它实际上是您要监视的查询。
Take control of your alerts by viewing, creating, and managing all of them from a single UI. Stay in the know with real-time updates on which alerts are running and what actions were taken.
文档:https://www.elastic.co/guide/en/x-pack/current/xpack-alerting.html
销售页面:https://www.elastic.co/products/x-pack/alerting
关于elasticsearch - 在Elasticsearch中基于日志设计警报系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48338520/