How to use helpers.scan with python requests?

I have a working script to query my ES cluster, using the Requests library. I am using Requests because I have issues with both proxies and with HTTPS certificates. All of this works with Requests.

response = requests.get( es_path, data=query, auth=( userid, passwd ), proxies=proxies, verify=cert_file, headers=headers )

However for some bigger queries I need to use helpers.scan and although I can see examples for this with the python Elasticsearch client, I can not work out how to do this with the Requests library.

I can't use the Elasticsearch python client because I can not get it to work with proxy and self-signed cert.


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