mirror of
https://github.com/krislamo/graylog_demo
synced 2024-11-10 06:00:36 +00:00
11 lines
393 B
Docker
11 lines
393 B
Docker
FROM fluent/fluentd:v1.9.0-debian-1.0
|
|
USER root
|
|
RUN apt-get update \
|
|
&& apt-get -y install --no-install-recommends wget \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN gem install fluent-plugin-rewrite-tag-filter
|
|
RUN gem install gelf
|
|
RUN cd /fluentd/plugins \
|
|
&& wget -q https://raw.githubusercontent.com/emsearcy/fluent-plugin-gelf/master/lib/fluent/plugin/out_gelf.rb
|
|
COPY fluent.conf /fluentd/etc/
|