我通过 GCP 使用“Elastic Cloud(Elasticsearch 托管服务)”在弹性云上托管了一个 elasticsearch 实例。
我正在尝试从 npm 运行 elasticdump 以提取和推送数据,但我没有运气。我不确定我是否正确连接(我发现让我到达任何地方的唯一方法是将用户名和密码之一放在 url 中,例如
https://<user>:<pass>@<urltoelastic>:<port>/<index>
最终没有给我未经授权的回复,但我得到了一个 html 页面的转储,简而言之:
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;
有谁知道我需要采取哪些步骤才能让 elasticdump 能够连接到我托管的弹性搜索?