I have an elasticsearch instance hosted on elastic cloud through GCP using "Elastic Cloud (Elasticsearch managed service)".
I am trying to run elasticdump from npm to pull and push data, but I am having no luck. I am not positive I am connecting properly (the only way I have found that got me anywhere was to put one of the users username and password in the url, such as
https://<user>:<pass>@<urltoelastic>:<port>/<index>
Which finally didnt give me an unauthorized response, but I got back a dump of an html page that in short said:
Please upgrade your browser
This Kibana installation has strict security requirements enabled that your current browser does not meet.
Since this is an unsafe inline script, this code will not run in browsers that support content security policy(CSP). This is intentional as we check for the existence of __kbnCspNotEnforced__ in bootstrap.
window.__kbnCspNotEnforced__ = true;
Does anyone know what steps I need to take in order to get elasticdump to be able to connect to my hosted elasticsearch?