blob: a1c2f35188a45d0cf2531852d93274abebc3b1af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
"aggregations":
{
"by_hostname":
{
"terms": { "script": "[ doc['hostname'].value, doc['streamer-id.content-id'].value, doc['streamer-id.format'].value, doc['streamer-id.quality'].value ].join('/') ",
"size": 0
}
},
"the_total_time":
{
"sum": { "field": "duration-ms" }
},
"da_klaient_do":
{
"sum": { "field": "data.client-count" }
}
}
}
|