Kibana で Visualize している集計値が何かしらの条件に合致した場合に Slack にアラート通知を送りたい。 Alerting から実現できたので、その設定方法をメモ。 題材として Elasticsearch に溜め込まれた Web サーバのアクセスログについて、正常レスポンス(ステータスコード 5xx 以外)が 99.95% を下回った場合に Slack に通知するような Trigger を作成してみる。 環境 Kibana 7.1.1 クエリ作成 クエリの表示 Vizualize の設定そのものを Alerting 側でそのままソースとして利用することはできないようなので、 Vizualize のクエリをコピーして利用する。 サイドメニューから "Visualize" を選択。 左上の "Inspect" を選択すると右上にドロップダウンメニューが現れるので、これを "