diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-12-01 23:53:37 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-12-01 23:53:37 +0100 |
commit | 58aece87f55af644623f393c12e49f75866129ad (patch) | |
tree | eeffa16335ce2bcdb03eaac3958b2c0eedaf469a | |
parent | es5: range and histgram aggs work now (diff) |
es5: stats vs. avg
-rw-r--r-- | src/es5/es-query.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/es5/es-query.json b/src/es5/es-query.json index bc45515..ccc6db3 100644 --- a/src/es5/es-query.json +++ b/src/es5/es-query.json @@ -21,8 +21,8 @@ "size": 0 }, "aggregations": { - "avg_clients": { - "avg": { "field": "data.client-count" } + "clients": { + "stats": { "field": "data.client-count" } } } } |