可以在浏览器(ELK 8.2)中访问Kibana

发布于 2025-01-29 22:30:49 字数 677 浏览 5 评论 0 原文

我正在尝试在远程Oracle Cloud Server上设置麋鹿堆栈,但是我无法从浏览器访问Kibana。使用DEB软件包安装。我正在安装的Elasticsearch和Kibana的版本为8.2(在此版本中,默认情况下已经启用了安全设置,包括设置和生成安全证书) - 现在是最新版本。我根据官方网站的说明执行安装,但是关于远程访问设置的说明什么也没说。

我试图更改 kibana.yaml 文件中的设置,“ server.port:5601” 字段和编辑 server.host:“我的ip”:“我的ip” (我也尝试过 server.host:“ 0.0.0.0” ),但这无济于事。

我还试图直接从网络访问Elasticsearch。我以类似的方式编辑了它的配置,但没有帮助。就我而言,从网络中访问Elasticsearch并不是必不可少的,但是我也想获得它。

我知道Oracle服务器默认情况下对转发流量有限制,因此我在Oracle Control面板中解除了弹性和Kibana端口(9200和5601)的限制。

我还允许端口9200和5601 通过iPitables。默认情况下,UFW防火墙在“非活动”状态中。通过NMAP检查时,两个端口都会返回“过滤”状态。

请帮助解决问题。我只是根据说明进行标准安装,我不明白问题出在什么样。

I'm trying to set up an ELK stack on a remote Oracle Cloud server, but I can't access kibana from a browser. Installation using deb package. The version of elasticsearch and kibana I'm installing is 8.2 (in this version, security settings are already enabled by default, including settings and generation of security certificates) - the latest version for now. I perform the installation according to the instructions from the official site, but nothing is said there about the remote access settings.

I tried to change the settings in the kibana.yaml file, uncommented the "server.port: 5601" field and edited server.host: "my ip" (I also tried server.host: "0.0.0.0"), but this does not help .

I also tried to access from the network directly to elasticsearch. I edited its configuration in a similar way, but it did not help. In my case, access to elasticsearch from the network is not essential, but I would also like to get it.

I know that Oracle servers by default have restrictions on the forwarded traffic, so I unblocked the elastic and kibana ports (9200 and 5601) in the Oracle control panel.

I also allowed ports 9200 and 5601 through ipitables. The UFW firewall is by default in the "inactive" status. When checked through nmap, both ports return a "filtered" status.

Please help fix the issue. I'm just doing a standard installation according to the instructions and I don't understand what the problem is.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

锦爱 2025-02-05 22:30:49

我通过设置反向代理nginx解决了问题,以便将请求重定向到 localhost:5601 。这两篇文章对我有所帮助,我希望它对其他人有所帮助:

  1. https://www.digitalocean.com/community/tutorials/how-to-to-install-nginx-on-on-ubuntu-20-04

  2. (步骤2)


I solved the problem by setting up a reverse proxy nginx so that it redirects requests coming to the server to localhost:5601. These two articles helped me, I hope it helps someone else:

  1. https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

  2. https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elastic-stack-on-ubuntu-20-04-ru (step 2)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文