1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-09-20 06:00:35 +00:00

Not working. Errors

This commit is contained in:
Kris Lamoureux 2020-03-02 16:10:08 -05:00
parent ec3eaebf35
commit 724704c888
Signed by: kris
GPG Key ID: A30022791E1719A4
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,6 @@ RUN apt-get update \
&& apt-get -y install --no-install-recommends wget \ && apt-get -y install --no-install-recommends wget \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN gem install fluent-plugin-rewrite-tag-filter RUN gem install fluent-plugin-rewrite-tag-filter
RUN gem install fluent-plugin-gelf-hs
RUN gem install gelf 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/ COPY fluent.conf /fluentd/etc/

View File

@ -42,8 +42,11 @@
<match **> <match **>
@type gelf @type gelf
protocol tcp
host vagrant_graylog_1 host vagrant_graylog_1
port 12201 port 12201
protocol tcp
tls true
tls_options {"cert":"/fluentd/etc/pki/fluentd-signed.crt",
"asdfadsfkey":"/fluentd/etc/pki/fluentd.key"}
flush_interval 5s flush_interval 5s
</match> </match>