统计出IP段中包含的IP,并按照ip数量倒序排序{
"aggs": {
"ipg": {
"terms": {
"field": "ipg",
"order": {
"此处按照下面的ip聚合的数量排序": ""
}
},
"aggs": {
"ip": {
"terms": {
"size": 255,
"field": "ip"
}
}
}
}
}
}
"aggs": {
"ipg": {
"terms": {
"field": "ipg",
"order": {
"此处按照下面的ip聚合的数量排序": ""
}
},
"aggs": {
"ip": {
"terms": {
"size": 255,
"field": "ip"
}
}
}
}
}
}
4 个回复
huigy
赞同来自:
huigy
赞同来自:
jonoexgf
赞同来自:
huigy
赞同来自: