a/a/_search?search_type=count
{
"query": {
"bool": {
"must": [
{
"term": {
"appType": "a"
}
}
],
"must_not": [],
"should": []
}
},
"aggs": {
"tag": {
"terms": {
"field": "ip",
"size": 10
}
}
}
}