Kibana aggregation filter query issue

So i want to enquire about composite query in kibana filter aggregation. i am using kibana 5.4.3.
I applied one filter like,
method.raw:"methodName"
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?

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,

Shaunak

2 Likes

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

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