Help about the Filter aggregation in Kibana


I have a problem to know how to insert the Filters aggregation in Kibana

My data has a field that name is "Text" that is string and contains some words

I want to apply a filter in this way:

  1. Text fields that contains specific word
  2. Text fields that not contains of that specific word

I dont know how should I have to write this.

I would be appreciate if some one can help me about this


Are you on KB3?

No in KB4.

Do you know what can I do?

Start by reading
It'll take you through how to write a query for the filter.