Hi all and sorry for my poor english
I have tons of data with different field value 'fastCategory', but whe i do an aggragation on fastCategory, I found just 10 aggregation? Why that?
POST statistic/_search
{
"aggs": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"term": {
"accountUuid": "5522626"
}
},
{
"term": {
"profileUuid": "abcde"
}
},
{
"range": {
"currentDate": {
"from": 1614612148000,
"to": 1617290548000
}
}
} ]
}
},
"aggs": {
"category": {
"terms": {
"field": "fastCategory"
} ,
"aggs": {
"services": {
"terms": {
"field": "serviceName"
} ,
"aggs":{
"totalTrafficPerService": {
"sum": {
"field": "totalTraffic"
}
}
}
} ,
"totalTrafficBucket": {
"sum": {
"field": "totalTraffic"
}
}
}
}
}
}
},
"size": 0
}