ilogtail采集容器日志输出到elasticsearch es收不到日志 #776
Answered
by
shalousun
xiaoyang2008mmm
asked this question in
Help
-
我用ilogtail采集容器日志 输出到elasticsearch es收不到日志 但是输出到flusher_stdout 是可以的 这是我ilogtail的配置
|
Beta Was this translation helpful? Give feedback.
Answered by
shalousun
Apr 16, 2023
Replies: 2 comments 2 replies
-
hello 由于es8的某些安全设置,可能导致ilogtail无法连接 需要手动关闭一下es的https设置,您可以尝试在${elasticsearch}/config/elasticsearch.yml下将相应的参数设置为false
|
Beta Was this translation helpful? Give feedback.
1 reply
-
es服务端在使用
对于不带协议的情况下es官方的go client会出现下面类似的错误:
官方es go client例子中也是加了前缀的
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
messixukejia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
es服务端在使用
basic auth
作为认证的情况下xpack.security.enabled=true
设置为true
是没有问题的。只是flusher在配置Addresses时需要带上连接协议的前缀
对于不带协议的情况下es官方的go client会出现下面类似的错误:
官方es go client例子中也是加了前缀的