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
I would build my own fluentd image and set http_backend.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
Also I add 'http_backend typhoeus' into fluent.conf. But the image cannot work at all and say: no typhoeus found.
Is there any problem with it? any suggestion will be helpful.
...
You should add a line to install libcurl. Because typhoeus requests to load libcurl.so.
FROM fluent/fluentd:v1.5-1
# Use root account to use apkUSER root
# below RUN includes plugin as examples elasticsearch is not required# you may customize including plugins as you wishRUN apk add --no-cache --update --virtual .build-deps \
sudo build-base ruby-dev \
# This line is needed.
&& apk add libcurl \
&& sudo fluent-gem install fluent-plugin-elasticsearch \
&& sudo fluent-gem install typhoeus \
&& sudo fluent-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
Problem
I would build my own fluentd image and set http_backend.This is my Dockerfile to install typhoeus
Also I add 'http_backend typhoeus' into fluent.conf. But the image cannot work at all and say: no typhoeus found.
Is there any problem with it? any suggestion will be helpful.
...
Steps to replicate
Either clone and modify https://gist.github.com/pitr/9a518e840db58f435911
OR
Provide example config and message
Expected Behavior or What you need to ask
...
Using Fluentd and ES plugin versions
Kubernetes
fluentd --version
ortd-agent --version
v0.12
fluent-gem list
,td-agent-gem list
or your Gemfile.lockES 6.5.4
The text was updated successfully, but these errors were encountered: