Difference in Results in Kibana and API

Hi there,

I am learning to use Python API to query Elasticsearch. I was trying to run some queries in Kibana, I copied the same json request from the json blob of Kibana and used the same to query using python. Both results were different. I had 65 hits shown in Kibana whereas I had 1145 results when I queried using python API.

Can you share both? Kibana's probably filtering something or applying index patterns to your search.

It was a problem with cached results. Kibana was somehow returning cached results again and again. It changed once I closed the browser and reran the query again opening a new instance of the browser.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.