GET ana-apk / _search # Unique mac address query
{
"size": 10,
"AGGS": {
"the MAC": {
"with cardinality": {
"Field": "MAC.keyword"
}
}
},
"_Source ": {
" the include ": [" the MAC "," ProbeOUI "," RTPLossRate "]
}
}
----------------
Disclaimer: This article is CSDN blogger" sxf_0123 "of original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/sxf_123456/article/details/78195829
ES queries do not duplicate data
Guess you like
Origin www.cnblogs.com/zeenzhou/p/11669078.html
Recommended
Ranking