Is the Filters aggregation supposed to work in Kibana 4?

When selecting the Filters sub aggregation in Kibana 4, I only has a Query
field for the specification. I really dont know what to do with that.
What I want is shown in the query below, which I execute directly against
elasticsearch 1.4.0.

Is the Filters sub aggregation working? If yes, how do I use it?

Is there any way to import a "hand made" query as the one below into Kibana?

Thanks for any help!

/Stefan

My elasticsearch query:

GET _search
{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"bool": {
"must": [
{
"term": {
"type": "jmx"
}
},
{
"term": {
"variable": "MeanProcessingTime"
}
}
]
}
}
}
},
"aggs": {
"histogram_agg": {
"date_histogram": {
"field": "@timestamp",
"interval": "hour"
},
"aggs": {
"component_agg": {
"filters": {
"filters": {
"engineReceiver": {
"bool": {
"must": [
{
"term": {
"mbeanalias": "receiverChannelCamelRoute"
}
},
{
"term": {
"group": "eti.engine"
}
}
]
}
},
"engineSender": {
"bool": {
"must": [
{
"term": {
"mbeanalias": "senderChannelCamelRoute"
}
},
{
"term": {
"group": "eti.engine"
}
}
]
}
},
"incomingAmqp": {
"bool": {
"must": [
{
"term": {
"mbeanalias": "camelRoute"
}
},
{
"term": {
"group": "eti.gateway.incoming.amqp"
}
}
]
}
},
"outgoingAmqp": {
"bool": {
"must": [
{
"term": {
"mbeanalias": "camelRoute"
}
},
{
"term": {
"group": "eti.gateway.outgoing.amqp"
}
}
]
}
}
}
},
"aggs": {
"my_average": {
"avg": {
"field": "metric_value_number"
}
}
}
}
}
}
}
}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d8478257-1819-451f-97ed-617a4956c805%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.