Hi Folks,
I am running this query to get the IP addresses from ES indices however I noticed that I am unable to get all the src_ips and then found the scroll parameter.
Can someone please confirm if scroll API will help me find all the src_ips since beginning?
curl -s -XGET "https://127.0.0.1:16577/$INDICES/_search" -H 'Content-Type: application/json' -d'
{
"aggs": {
"ips": {
"terms": { "field": "src_ip.keyword", "size": 10000 }
}
},
"size" : 0
}'
}