When I execute this search with Postmn or the Elastic console I get different results as when I do it in a script using axios any ideas..
{"query":{"exists":{"field":"RefreshOrderNo"}}}
I can't share the whole data ecause it has sensitive info however what I have observed is that the axios request returns a response that has kibana indices under hits.hits as the following:
Axios response:
_index: '.kibana_-1000252343_peafdpctcms_1'