diff options
Diffstat (limited to 'src/es5/es-query.json')
-rw-r--r-- | src/es5/es-query.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/es5/es-query.json b/src/es5/es-query.json index a1c2f35..0db2cfb 100644 --- a/src/es5/es-query.json +++ b/src/es5/es-query.json @@ -1,7 +1,7 @@ { "aggregations": { - "by_hostname": + "by_source": { "terms": { "script": "[ doc['hostname'].value, doc['streamer-id.content-id'].value, doc['streamer-id.format'].value, doc['streamer-id.quality'].value ].join('/') ", "size": 0 @@ -11,9 +11,9 @@ { "sum": { "field": "duration-ms" } }, - "da_klaient_do": + "avg_clients": { - "sum": { "field": "data.client-count" } + "avg": { "field": "data.client-count" } } } } |