将Fluentd日志发送到安装在其他计算机中的OpenSearch:无法与Opensearch进行通信,重置连接并重试。 [302]

发布于 2025-01-22 19:36:06 字数 636 浏览 1 评论 0原文

我一直在尝试将Fluentd日志发送到OpenSearch,这两个日志安装在两台不同的机器中。 fluentd.conf匹配条款如下:

<match **>
 @type copy
 <store>
  @type forward
  @id forward_output
  <server>
   name TisaOS
   host private_ip
   port 24224
  </server>
  <buffer tag>
   flush_interval 1s
  </buffer>
  <secondary>
   @type opensearch
   host public_ip
   port 5601
   ssl_verify false
   user admin
   password admin
   index_name fluentd
  </secondary>
 </store>
 <store>
  @type stdout
 </store>
</match>

我使用private_ip访问浏览器中的OpenSearch:

我已经尝试了一段时间的端口,非常感谢一些帮助!

I've been trying to send the Fluentd log to a opensearch, those two are installed in two different machines.
fluentd.conf match clause is the following :

<match **>
 @type copy
 <store>
  @type forward
  @id forward_output
  <server>
   name TisaOS
   host private_ip
   port 24224
  </server>
  <buffer tag>
   flush_interval 1s
  </buffer>
  <secondary>
   @type opensearch
   host public_ip
   port 5601
   ssl_verify false
   user admin
   password admin
   index_name fluentd
  </secondary>
 </store>
 <store>
  @type stdout
 </store>
</match>

I access to opensearch in the browser with private_ip:port

I've been trying for a while, some help would be very much appreciated!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文