Py学习  »  Elasticsearch

如何在AWS中使用elasticsearch或Kibana控制台

haneul kim • 4 年前 • 873 次点击  

也许这是个简单的问题,因为找不到任何关于这个的东西。我在跟踪 https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-aws-integrations.html#es-aws-integrations-s3-lambda-es 关于创建lambda函数并将s3数据发送到es的指南。

我已经完成了所有的步骤和检查阶段。我已将sample.log文件上传到s3,并想检查它是否已成功添加到elasticsearch。

curl GET "https://path/lambda-index/_search?pretty"

输出 curl: (5) Could not resolve proxy: GET

输出

curl: (6) Could not resolve host: GET
curl: (7) Failed to connect to vpc-es-logs-wxmypa5bsx4dqutl7h46qsl3qa.ap-northeast-2.es.amazonaws.com port 443: Timed out

我想现在使用elasticsearch控制台或kibana,但我不知道如何访问它。我试过去VPC的端点和Kibana在elasticsearch域名页面发布的url,但它不会连接。

解决了的: 创建具有公共访问权限的新域后,它可以正常工作。我想是VPC出了问题,不知道为什么(如果有人知道,请解释)

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/53159
 
873 次点击  
文章 [ 1 ]  |  最新文章 4 年前
Adiii
Reply   •   1 楼
Adiii    4 年前

我假设你在寻找弹性搜索服务的端点,

  1. https://us-west-2.console.aws.amazon.com/es/home?region=us-west-2#
  2. 选择域

enter image description here

  1. 选择ES域

enter image description here

如果你没有域名

enter image description here

enter image description here