alerting-kibana-plugin icon indicating copy to clipboard operation
alerting-kibana-plugin copied to clipboard

grouping in kibana does not work

Open kklmm opened this issue 5 years ago • 4 comments

When creating an alert in kibana with "define using visual graph" the field "OVER ALL DOCUMENTS" should support aggregation but it currently does not. It always shows "over all documents" regardless of what settings are configured in other fields.

screenshot: https://i.imgur.com/4Iwf2zy.png

This is a very basic and highly used feature in other alerting tools (x-pack or elastalert) which allows use cases such as grouping on beat.name so one alert can cover multiple hosts. Right now separating alerts by host can only be implemented with "define using extraction query" (removes simplicity) or by implementing one alert for each host (creates a mess).

Using elasticsearch 7.1.1 with kibana 7.1.1 on linux kibana-alerting 1.1.0.0 and kibana-alerting-elasticsearch 1.1.0.0 built from github then installed into elasticsearch as a plugin.

also reported on opendistro forums: https://discuss.opendistrocommunity.dev/t/grouping-aggregation-does-not-work-when-using-visual-graph/1104

kklmm avatar Jul 10 '19 14:07 kklmm

https://discuss.opendistrocommunity.dev/t/grouping-aggregation-does-not-work-when-using-visual-graph/1104

OVER was limited to just ALL DOCUMENTS for initial release as we wanted to scope out the feature better and provide a better experience than current solutions. We can use this issue to track discussions/progress for it.

dbbaughe avatar Jul 10 '19 17:07 dbbaughe

+1

crackthecodeabhi avatar Jul 15 '19 08:07 crackthecodeabhi

+1 What is the progress?

DotLauan avatar Aug 29 '19 04:08 DotLauan

+1, i ready it can be achieved with a custom query but an example would be great if someone has one.

nachtfisch avatar Feb 14 '20 13:02 nachtfisch