When I tried:
curl -XPOST 'http://localhost:9200/index/type/_search?search_type=scan&scroll=2m' -d '{"query": {"match": {"host":"xxxx"}}}'
I got a scroll_id. Then I issued:
curl -XPOST 'http://localhost:9200/_search/scroll?scroll=1m&scroll_id=......'
but the response contains logs belonging to other host. Why and how to solve it?
Thanks alot