Paste P7798

labs-druid-query
ActivePublic

Authored by JAllemandou on Tue, Nov 13, 1:15 PM.
curl -L -H'Content-Type: application/json' -XPOST --data-binary '
{
"queryType": "topN",
"dataSource": "webrequest",
"granularity": "hour",
"dimension": "uri_path",
"metric": "events",
"threshold": 5,
"aggregations": [
{ "type": "longSum", "name": "events", "fieldName": "events" }
],
"intervals": [ "2018-05-18T00:00:00.000/2018-05-18T01:00:00.000" ]
}
' http://d-1.analytics.eqiad.wmflabs:8082/druid/v2/