简体   繁体   English

Amazon Elasticsearch-无法访问Kibana

[英]Amazon Elasticsearch - Not able to access Kibana

I have launched Elasticsearch in a Public Subnet, still, I am not able to access the Kibana console from my browser. 我已经在公共子网中启动了Elasticsearch,但仍然无法从浏览器访问Kibana控制台。 I am not able to understand the issue, I have configured the Security Group correctly. 我无法理解该问题,我已经正确配置了安全组。 Please refer the image below for my setup : 请参考以下图片进行我的设置:

在此处输入图片说明

What other setting needs to be made to access Elasticsearch over the internet in a VPC. 要在VPC中通过Internet访问Elasticsearch,还需要进行其他哪些设置。

If you place your Elastic Search Cluster inside a VPC, whether inside a public or private subnet, the Kibana URL which is generated is internal to the VPC. 如果将弹性搜索集群放置在VPC内(无论是公共子网还是私有子网内),则生成的Kibana URL在VPC内部。 Which means you cannot access it outside the VPC. 这意味着您无法在VPC外部访问它。 You can access it through an EC2 instance inside the VPC ie you will have to create a windows EC2 instance inside the same VPC as Kibana and then you will be able to access the Kibana dashboard through the browser of that instance. 您可以通过VPC内的EC2实例访问它,即,您必须在与Kibana相同的VPC内创建Windows EC2实例,然后才能通过该实例的浏览器访问Kibana仪表板。

You need to update access policy of the cluster -> ELK -> domain -> Modify access policy 您需要更新集群的访问策略-> ELK->域->修改访问策略

在此处输入图片说明

Select a template from the drop-down or update it manually and your IP 从下拉列表中选择一个模板,或手动对其进行更新,然后您的IP

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      },
      "Action": "es:*",
      "Resource": "arn:aws:es:us-west-2:**youraccountnumber***:domain/dmainname/*",
      "Condition": {
        "IpAddress": {
          "aws:SourceIp": [
            "202.your_public_ip_adress/32"
          ]
        }
      }
    }
  ]
}

Or further you can share the browser output which should be something like the user is allowed? 或者进一步,您可以共享浏览器输出,应该允许用户输入?

How u create your ELK cluster there is two option? 您如何创建ELK集群有两种选择?

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 亚马逊AWS elasticsearch从浏览器访问Kibana - Amazon AWS elasticsearch Kibana access from browser 如何从亚马逊弹性搜索服务访问Kibana? - How to access Kibana from Amazon elasticsearch service? Kibana将无法通过Amazon的Elasticsearch Service连接到Elasticsearch - Kibana won't connect to Elasticsearch on Amazon's Elasticsearch Service 如何控制 AWS Elasticsearch Service 和 Kibana 的访问? - How to control access of AWS Elasticsearch Service and Kibana? AWS Elasticsearch Kibana插件访问被拒绝 - AWS Elasticsearch Kibana Plugin Access Denied Amazon Elasticsearch 服务 Kibana 的错误:“租户索引迁移失败” - Amazon Elasticsearch service Kibana's error: “Tenant indices migration failed” 在 VPC 中托管的 ElasticSearch 中对 Kibana 进行 Amazon Cognito 身份验证 - kibana 的链接未加载 - Amazon cognito authentication for Kibana in ElasticSearch hosted in VPC - Link does not load for kibana 创建AWS ES(elasticsearch)之后的AWS Kibana访问控制 - AWS Kibana access control after creating AWS ES(elasticsearch) 如何在没有Kibana的情况下从AWS中的ElasticSearch访问数据? - How do I access data from ElasticSearch in AWS without Kibana? AWS Elasticsearch IAM 问题通过浏览器访问 Kibana - AWS Elasticsearch IAM question to access Kibana via Browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM