{
"took" : 3,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 17,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "GUK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 80,
"method" : "GET",
"path" : "/api/post/1",
"created" : "2023-02-09"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "GkK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 30,
"method" : "GET",
"path" : "/api/post/2",
"created" : "2023-02-07"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "G0K3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 20,
"method" : "GET",
"path" : "/api/post/3",
"created" : "2023-02-08"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "HEK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 120,
"method" : "GET",
"path" : "/api/post/20",
"created" : "2023-02-06"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "HUK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 150,
"method" : "GET",
"path" : "/api/post/1",
"created" : "2023-02-05"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "HkK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 80,
"method" : "GET",
"path" : "/api/post/3",
"created" : "2023-02-04"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "H0K3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 960,
"method" : "GET",
"path" : "/api/post/6",
"created" : "2023-02-03"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "IEK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 9000,
"method" : "GET",
"path" : "/api/post/8",
"created" : "2023-02-02"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "IUK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 1300,
"method" : "GET",
"path" : "/api/post/6",
"created" : "2023-02-01"
}
},
{
"_index" : "req_log",
"_type" : "_doc",
"_id" : "IkK3NIYBdXrpvlCF01bz",
"_score" : 1.0,
"_source" : {
"times" : 400,
"method" : "GET",
"path" : "/api/post/4",
"created" : "2023-02-10"
}
}
]
},
"aggregations" : {
"method_count" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [
{
"key" : "GET",
"doc_count" : 17,
"path_count" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [
{
"key" : "/api/post/3",
"doc_count" : 3,
"avg_times" : {
"value" : 63.0
}
},
{
"key" : "/api/post/6",
"doc_count" : 3,
"avg_times" : {
"value" : 1053.3333333333333
}
},
{
"key" : "/api/post/1",
"doc_count" : 2,
"avg_times" : {
"value" : 115.0
}
},
{
"key" : "/api/post/2",
"doc_count" : 2,
"avg_times" : {
"value" : 205.0
}
},
{
"key" : "/api/post/4",
"doc_count" : 2,
"avg_times" : {
"value" : 305.0
}
},
{
"key" : "/api/post/10",
"doc_count" : 1,
"avg_times" : {
"value" : 270.0
}
},
{
"key" : "/api/post/12",
"doc_count" : 1,
"avg_times" : {
"value" : 630.0
}
},
{
"key" : "/api/post/20",
"doc_count" : 1,
"avg_times" : {
"value" : 120.0
}
},
{
"key" : "/api/post/7",
"doc_count" : 1,
"avg_times" : {
"value" : 870.0
}
},
{
"key" : "/api/post/8",
"doc_count" : 1,
"avg_times" : {
"value" : 9000.0
}
}
]
}
}
]
}
}
}