mirror of
https://github.com/krislamo/graylog_demo
synced 2024-12-16 15:00:36 +00:00
Not working. Errors
This commit is contained in:
parent
ec3eaebf35
commit
724704c888
@ -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/
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user