I have a query that i'm trying to run against ES 1.3.4 and i'm not able to 
use the filters buckets.

Here is my query. It's actually pulled straight from the documentation with 
some small changes.

{
    "aggs" : {
    "messages" : {
      "filters" : {
        "filters" : {
          "errors" :   { "term" : { "request" : " blah.json"   }},
          "warnings" : { "term" : { "domain" : "blah" }}
        }
      },
      "aggs" : {
        "monthly" : {
          "histogram" : {
            "field" : "timestamp",
            "interval" : "1M"
          }
        }
      }
    }
  
 }
}

I get back quite a few errors, but this one seems most likely to be the 
most important.

SearchParseException[[logstash-2014.12.01.12][2]: from[-1],size[-1]: Parse 
Failure [Could not find aggregator type [filters] in [messages]]]; }]",
   "status": 400

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/62353474-16e9-4c5d-9a26-b552e3617ccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to