druid/examples/twitter/group_by_query.body

13 lines
400 B
Plaintext
Raw Normal View History

2012-10-24 03:39:51 -04:00
{
2012-10-24 04:51:32 -04:00
"queryType": "groupBy",
2012-10-24 03:39:51 -04:00
"dataSource": "twitterstream",
"granularity": "all",
"dimensions": ["lang", "utc_offset"],
2012-10-24 03:39:51 -04:00
"aggregations":[
{ "type": "count", "name": "rows"},
{ "type": "doubleSum", "fieldName": "tweets", "name": "tweets"}
2012-10-24 03:39:51 -04:00
],
"filter": { "type": "selector", "dimension": "lang", "value": "en" },
2012-10-24 03:39:51 -04:00
"intervals":["2012-10-01T00:00/2020-01-01T00"]
}