summaryrefslogtreecommitdiff
path: root/src/es5/es-query.json
blob: c73d0793445bd5fd4ac2278614d01d1ec0bdbf93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "aggregations":
  {
      "by_hostname":
      {
          "terms": { "script": "doc['source-id'].value" }
      },
      "the_total_time":
      {
          "sum": { "field": "duration-ms" }
      },
      "da_klaient_do":
      {
          "sum": { "field": "data.client-count" }
      }
  }
}