Kibana aggregation filter query issue

(Shahrukh khan) #1

So i want to enquire about composite query in kibana filter aggregation. i am using kibana 5.4.3.
I applied one filter like,
now two method names are same but are from different class. So i'd like to apply a composite filter like,
method.raw:"methodName" and class.raw:"ClassName"

Currently i can't figure out a way to provide such a composite query in filters. Could you help me with that?

(Shaunak Kashyap) #2

You are nearly there! This should work (note the capitalization):

method.raw:"methodName" AND class.raw:"ClassName"

In general, you can use either Lucene Query Syntax or Elasticsearch Query DSL for the filter expression.

Here's an example showing the use of Lucene Query Syntax in the filter expressions:

And here's the same example but constructed using Elasticsearch Query DSL in the filter expressions:

Hope that helps,


(Shahrukh khan) #3

That worked perfectly.:slight_smile:
Didn't realise i was this close! :sweat_smile:
Anyway, thank you so much for the quick response.

(system) #4

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