最近根据根据时间戳划定范围查询数据,查询出来的都是0,部分语句如下:
"aggregations": {
"data": {
"date_range": {
"field": "param_data.data_unix",
"format": "epoch_millis",
"ranges": [
{
"from": 1516723200,
"to": 1516726800
}
]
},
"aggregations": {
"retention_new_user": {
"cardinality": {
"field": "param_user.uid_s",
"precision_threshold": 40000
}
}
}
}
}
"aggregations": {
"data": {
"date_range": {
"field": "param_data.data_unix",
"format": "epoch_millis",
"ranges": [
{
"from": 1516723200,
"to": 1516726800
}
]
},
"aggregations": {
"retention_new_user": {
"cardinality": {
"field": "param_user.uid_s",
"precision_threshold": 40000
}
}
}
}
}
1 个回复
strglee
赞同来自: