I am using below command to retrieve the data from Elasticsearch DB .
curl -XGET 'http://localhost:9200/vm_expiry/_search?pretty=1'
Facing below issues .
- Not getting the latest data . But in Kibana console latest data showing properly .
- Getting incomplete output . Suppose , the above query should return 52 results , but getting only 12 . In Kibana console , getting as expected .
Please help me with a command , which I need to run in linux backend for a script , to get all latest output .