将日志从openshift项目发送到外部Elasticsearch

时间:2019-04-12 10:44:24

标签: elasticsearch openshift fluentd

我正在尝试将特定的openshift项目日志发送到不安全的外部弹性搜索。

我尝试了https://github.com/richm/docs/releases/tag/20190205142308中提供的解决方案。但是发现它只有在ELS安全的情况下才有效。

后来我也尝试通过添加output-applications.conf来使用Elasticsearch插件。

output-applications.conf:

   <match *.*>
   @type elasticsearch
   host xxxxx
   port 9200
   logstash_format true

   </match>

https://github.com/richm/docs/releases/tag/20190205142308 #Application日志来自特定名称空间/容器/容器中的所有其他文件都是相同的

fluent.conf文件中包含output-applications.conf。 在除了[[info]:读取配置文件path =“ / etc / fluent / fluent.conf”之外的流利日志中,此消息我看不到其他任何东西,并且数据未到达Elasticsearch

有人可以告诉我如何继续吗?

0 个答案:

没有答案
相关问题