Filter last result in Kibana table

I have the following data:

image

With "Top Hit" aggregations I can get the latest result of each event:

image

How can I filter Data Table results to get events with the last result is "failed"?

Samples under the spoiler

This is right: :slightly_smiling_face:

This is wrong: :frowning_face:

Hi @artobstrel

Are you using Visualize to create these visualizations, or are you asking what raw elasticsearch query you can use to get the results you are looking for?

I asked about solution. The goal is data table visualization.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.