From 724704c88803d9b0904732b135ab5a707dda79b6 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Mon, 2 Mar 2020 16:10:08 -0500 Subject: [PATCH] Not working. Errors --- fluentd/Dockerfile | 3 +-- fluentd/fluent.conf | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fluentd/Dockerfile b/fluentd/Dockerfile index 2f1e645..47a7033 100644 --- a/fluentd/Dockerfile +++ b/fluentd/Dockerfile @@ -4,7 +4,6 @@ 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 fluent-plugin-gelf-hs 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/ diff --git a/fluentd/fluent.conf b/fluentd/fluent.conf index f8cb2cc..4c6fade 100644 --- a/fluentd/fluent.conf +++ b/fluentd/fluent.conf @@ -42,8 +42,11 @@ @type gelf - protocol tcp host vagrant_graylog_1 port 12201 + protocol tcp + tls true + tls_options {"cert":"/fluentd/etc/pki/fluentd-signed.crt", + "asdfadsfkey":"/fluentd/etc/pki/fluentd.key"} flush_interval 5s