Hi,
I am facing issue related to aggregation. I have around 1000 hits, but in console it says I have 0 count
POST /csv/doc/_search?size=0
{
"aggs" : {
"ip_address" : { "value_count" : { "field" : "type" } }
}
}
Response:
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 7006,
"max_score": 0,
"hits":
},
"aggregations": {
** "ip_address": {**
** "value": 0**
}
}
}