You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The image will work well at first. But some minutes later, it will not write log to elasticsearch, and I can confirm that some log is still transfered to fluentd by TCP.
And some minutes later, it will resume without any restart.
And I have read #525 and my image will not print failed log like the issue above.
So Is there any wrong with my fluentd.conf? Any suggestion will be helpful.
...
Using Fluentd and ES plugin versions
OS version
Bare Metal or within Docker or Kubernetes or others?
Fluentd v0.12 or v0.14/v1.0
paste result of fluentd --version or td-agent --version
fluentd-1.4.2
ES plugin 3.x.y/2.x.y or 1.x.y
paste boot log of fluentd or td-agent
paste result of fluent-gem list, td-agent-gem list or your Gemfile.lock
ES version (optional)
ES 6.5.4
ES template(s) (optional)
The text was updated successfully, but these errors were encountered:
I have read other issue and found ,maybe I can set http_backend for a try. This is my Dockerfile to install typhoeus
FROM fluent/fluentd:v1.5-1
# Use root account to use apk
USER root
# below RUN includes plugin as examples elasticsearch is not required
# you may customize including plugins as you wish
RUN apk add --no-cache --update --virtual .build-deps \
sudo build-base ruby-dev \
&& sudo gem install fluent-plugin-elasticsearch \
&& sudo gem install typhoeus \
&& sudo gem sources --clear-all \
&& apk del .build-deps \
&& rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem
COPY fluent.conf /fluentd/etc/
USER fluent
and add 'http_backend typhoeus' into fluent.conf.But the image cannot work at all.
Problem
I would build my own fluentd image ,including fluent-plugin-slastiucsearch ,and deploy it on K8S.
This is my fluentd.conf
The image will work well at first. But some minutes later, it will not write log to elasticsearch, and I can confirm that some log is still transfered to fluentd by TCP.
And some minutes later, it will resume without any restart.
And I have read #525 and my image will not print failed log like the issue above.
So Is there any wrong with my fluentd.conf? Any suggestion will be helpful.
...
Using Fluentd and ES plugin versions
fluentd --version
ortd-agent --version
fluentd-1.4.2
fluent-gem list
,td-agent-gem list
or your Gemfile.lockES 6.5.4
The text was updated successfully, but these errors were encountered: