Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"aggregations": {
"user_activity": {
"buckets": [
{
"key": "c2c5b6cb-d33a-4e94-bd6a-982b25c986e0",
"doc_count": 205,
"weekly": {
"buckets": [
{
"key_as_string": "2014-08-04T00:00:00.000Z",
"key": 1407110400000,
"doc_count": 23
},
{
"key_as_string": "2014-08-11T00:00:00.000Z",
"key": 1407715200000,
"doc_count": 71
},
{
"key_as_string": "2014-08-18T00:00:00.000Z",
"key": 1408320000000,
"doc_count": 111
}
]
}
},
{
"key": "a354977c-bb30-495d-a27b-b2b7b28652f3",
"doc_count": 198,
"weekly": {
"buckets": [
{
"key_as_string": "2014-08-04T00:00:00.000Z",
"key": 1407110400000,
"doc_count": 32
},
{
"key_as_string": "2014-08-11T00:00:00.000Z",
"key": 1407715200000,
"doc_count": 98
},
{
"key_as_string": "2014-08-18T00:00:00.000Z",
"key": 1408320000000,
"doc_count": 55
},
{
"key_as_string": "2014-08-25T00:00:00.000Z",
"key": 1408924800000,
"doc_count": 13
}
]
}
},
{
"key": "aa07dd0a-ba7c-462e-8e39-03b6938c1de3",
"doc_count": 197,
"weekly": {
"buckets": [
{
"key_as_string": "2014-08-04T00:00:00.000Z",
"key": 1407110400000,
"doc_count": 40
},
{
"key_as_string": "2014-08-11T00:00:00.000Z",
"key": 1407715200000,
"doc_count": 84
},
{
"key_as_string": "2014-08-18T00:00:00.000Z",
"key": 1408320000000,
"doc_count": 48
},
{
"key_as_string": "2014-08-25T00:00:00.000Z",
"key": 1408924800000,
"doc_count": 25
}
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.