I'm trying to access Kibana console from my python script since proxy don't allow me to access Elasticsearch in local but Kibana I can.
My intention is to run Elasticsearch queries with accessing Kibana locally to debug before deploying my application to server.
Here is what I have tried:
url = "myhost/myindex/_search"
query = '{"match":{"col1":"value"}}'
requests.get(url, verify="path", auth=(user, pwd), body=query)
This is returning http 200 but the content is showing a html page and I can't find my actual query response anywhere. Could some one help to find a way to get the query results.
Note: Elastic version is 7.3