Skip to content

Instantly share code, notes, and snippets.

@TheFrozenFire
Last active December 5, 2016 22:56
Show Gist options
  • Save TheFrozenFire/9f3e9aad5bac71ed354a6a2398864cc7 to your computer and use it in GitHub Desktop.
Save TheFrozenFire/9f3e9aad5bac71ed354a6a2398864cc7 to your computer and use it in GitHub Desktop.
"by_month": {
"buckets": [
{
"key_as_string": "2015-04-01T00:00:00.000Z",
"key": 1427846400000,
"doc_count": 49249,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 44591
},
{
"key": "submitted",
"doc_count": 3473
},
{
"key": "not_delivered",
"doc_count": 392
},
{
"key": "gateway_rejected",
"doc_count": 303
},
{
"key": "originated",
"doc_count": 185
},
{
"key": "unsent_opted_out_global",
"doc_count": 139
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 115
},
{
"key": "unsent_bad_data",
"doc_count": 50
},
{
"key": "original",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2015-05-01T00:00:00.000Z",
"key": 1430438400000,
"doc_count": 896464,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 691353
},
{
"key": "unsent_opted_out_local",
"doc_count": 86923
},
{
"key": "submitted",
"doc_count": 62336
},
{
"key": "not_delivered",
"doc_count": 18247
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 13606
},
{
"key": "unsent_opted_out_global",
"doc_count": 9300
},
{
"key": "originated",
"doc_count": 7132
},
{
"key": "gateway_rejected",
"doc_count": 6846
},
{
"key": "unsent_bad_data",
"doc_count": 473
},
{
"key": "queued",
"doc_count": 248
}
]
}
},
{
"key_as_string": "2015-06-01T00:00:00.000Z",
"key": 1433116800000,
"doc_count": 665456,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 452511
},
{
"key": "unsent_opted_out_local",
"doc_count": 93435
},
{
"key": "submitted",
"doc_count": 58143
},
{
"key": "not_delivered",
"doc_count": 14227
},
{
"key": "originated",
"doc_count": 13898
},
{
"key": "buffered",
"doc_count": 9737
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 9663
},
{
"key": "unsent_opted_out_global",
"doc_count": 7195
},
{
"key": "gateway_rejected",
"doc_count": 4115
},
{
"key": "unknown",
"doc_count": 2042
},
{
"key": "unsent_bad_data",
"doc_count": 315
},
{
"key": "queued",
"doc_count": 174
},
{
"key": "original",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2015-07-01T00:00:00.000Z",
"key": 1435708800000,
"doc_count": 477068,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "submitted",
"doc_count": 218792
},
{
"key": "delivered",
"doc_count": 97174
},
{
"key": "unsent_opted_out_local",
"doc_count": 85118
},
{
"key": "buffered",
"doc_count": 56367
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 8532
},
{
"key": "unsent_opted_out_global",
"doc_count": 7068
},
{
"key": "not_delivered",
"doc_count": 2985
},
{
"key": "originated",
"doc_count": 404
},
{
"key": "unsent_bad_data",
"doc_count": 307
},
{
"key": "gateway_rejected",
"doc_count": 262
},
{
"key": "queued",
"doc_count": 55
},
{
"key": "original",
"doc_count": 4
}
]
}
},
{
"key_as_string": "2015-08-01T00:00:00.000Z",
"key": 1438387200000,
"doc_count": 1273201,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "submitted",
"doc_count": 657565
},
{
"key": "unsent_opted_out_local",
"doc_count": 258213
},
{
"key": "delivered",
"doc_count": 160507
},
{
"key": "buffered",
"doc_count": 99179
},
{
"key": "originated",
"doc_count": 43101
},
{
"key": "unsent_opted_out_global",
"doc_count": 22824
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 22695
},
{
"key": "not_delivered",
"doc_count": 5546
},
{
"key": "queued",
"doc_count": 1765
},
{
"key": "gateway_rejected",
"doc_count": 998
},
{
"key": "unsent_bad_data",
"doc_count": 808
}
]
}
},
{
"key_as_string": "2015-09-01T00:00:00.000Z",
"key": 1441065600000,
"doc_count": 1337737,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "submitted",
"doc_count": 640587
},
{
"key": "unsent_opted_out_local",
"doc_count": 293346
},
{
"key": "delivered",
"doc_count": 224356
},
{
"key": "buffered",
"doc_count": 111831
},
{
"key": "unsent_opted_out_global",
"doc_count": 29197
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 26310
},
{
"key": "not_delivered",
"doc_count": 8398
},
{
"key": "queued",
"doc_count": 1599
},
{
"key": "unsent_bad_data",
"doc_count": 948
},
{
"key": "originated",
"doc_count": 864
},
{
"key": "gateway_rejected",
"doc_count": 301
}
]
}
},
{
"key_as_string": "2015-10-01T00:00:00.000Z",
"key": 1443657600000,
"doc_count": 964478,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "submitted",
"doc_count": 589544
},
{
"key": "unsent_opted_out_local",
"doc_count": 150618
},
{
"key": "delivered",
"doc_count": 139917
},
{
"key": "buffered",
"doc_count": 31310
},
{
"key": "unsent_opted_out_global",
"doc_count": 22101
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 18817
},
{
"key": "not_delivered",
"doc_count": 5733
},
{
"key": "originated",
"doc_count": 2389
},
{
"key": "queued",
"doc_count": 2210
},
{
"key": "gateway_rejected",
"doc_count": 1135
},
{
"key": "unsent_bad_data",
"doc_count": 704
}
]
}
},
{
"key_as_string": "2015-11-01T00:00:00.000Z",
"key": 1446336000000,
"doc_count": 1319202,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 668686
},
{
"key": "unsent_opted_out_local",
"doc_count": 298734
},
{
"key": "submitted",
"doc_count": 139129
},
{
"key": "buffered",
"doc_count": 112899
},
{
"key": "unsent_opted_out_global",
"doc_count": 30697
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 27045
},
{
"key": "not_delivered",
"doc_count": 26516
},
{
"key": "unsent_no_credits",
"doc_count": 12021
},
{
"key": "queued",
"doc_count": 2015
},
{
"key": "unsent_bad_data",
"doc_count": 858
},
{
"key": "originated",
"doc_count": 502
},
{
"key": "gateway_rejected",
"doc_count": 100
}
]
}
},
{
"key_as_string": "2015-12-01T00:00:00.000Z",
"key": 1448928000000,
"doc_count": 1711917,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 889137
},
{
"key": "unsent_opted_out_local",
"doc_count": 454264
},
{
"key": "submitted",
"doc_count": 121205
},
{
"key": "buffered",
"doc_count": 110383
},
{
"key": "unsent_opted_out_global",
"doc_count": 45867
},
{
"key": "not_delivered",
"doc_count": 43761
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 41432
},
{
"key": "queued",
"doc_count": 3018
},
{
"key": "unsent_bad_data",
"doc_count": 1674
},
{
"key": "originated",
"doc_count": 711
},
{
"key": "gateway_rejected",
"doc_count": 297
},
{
"key": "original",
"doc_count": 168
}
]
}
},
{
"key_as_string": "2016-01-01T00:00:00.000Z",
"key": 1451606400000,
"doc_count": 892781,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 407747
},
{
"key": "unsent_opted_out_local",
"doc_count": 248779
},
{
"key": "submitted",
"doc_count": 97413
},
{
"key": "buffered",
"doc_count": 69634
},
{
"key": "unsent_opted_out_global",
"doc_count": 24215
},
{
"key": "not_delivered",
"doc_count": 21568
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 20872
},
{
"key": "queued",
"doc_count": 1544
},
{
"key": "unsent_bad_data",
"doc_count": 612
},
{
"key": "originated",
"doc_count": 331
},
{
"key": "gateway_rejected",
"doc_count": 66
}
]
}
},
{
"key_as_string": "2016-02-01T00:00:00.000Z",
"key": 1454284800000,
"doc_count": 723,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 682
},
{
"key": "buffered",
"doc_count": 28
},
{
"key": "submitted",
"doc_count": 10
},
{
"key": "gateway_rejected",
"doc_count": 2
},
{
"key": "not_delivered",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2016-03-01T00:00:00.000Z",
"key": 1456790400000,
"doc_count": 684,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 624
},
{
"key": "buffered",
"doc_count": 37
},
{
"key": "submitted",
"doc_count": 22
},
{
"key": "not_delivered",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2016-04-01T00:00:00.000Z",
"key": 1459468800000,
"doc_count": 651,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 578
},
{
"key": "buffered",
"doc_count": 43
},
{
"key": "submitted",
"doc_count": 29
},
{
"key": "unsent_no_wireless_carrier",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2016-05-01T00:00:00.000Z",
"key": 1462060800000,
"doc_count": 217,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 163
},
{
"key": "buffered",
"doc_count": 35
},
{
"key": "submitted",
"doc_count": 19
}
]
}
},
{
"key_as_string": "2016-06-01T00:00:00.000Z",
"key": 1464739200000,
"doc_count": 170,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 142
},
{
"key": "buffered",
"doc_count": 17
},
{
"key": "submitted",
"doc_count": 10
},
{
"key": "not_delivered",
"doc_count": 1
}
]
}
},
{
"key_as_string": "2016-07-01T00:00:00.000Z",
"key": 1467331200000,
"doc_count": 125,
"delivery_state": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "delivered",
"doc_count": 102
},
{
"key": "buffered",
"doc_count": 12
},
{
"key": "submitted",
"doc_count": 6
},
{
"key": "not_delivered",
"doc_count": 5
}
]
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment