1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-09-19 21:50:36 +00:00

Remove fluentd container and minor reorganization

This commit is contained in:
Kris Lamoureux 2020-03-04 11:28:29 -05:00
parent a233c8c043
commit 4a0d92fa97
Signed by: kris
GPG Key ID: A30022791E1719A4
4 changed files with 2 additions and 23 deletions

3
Vagrantfile vendored
View File

@ -37,7 +37,8 @@ Vagrant.configure("2") do |config|
cp --update /vagrant/td-agent.repo /etc/yum.repos.d/
yum check-update
yum install -y td-agent
systemctl start td-agent
cp /vagrant/td-agent.conf /etc/td-agent/td-agent.conf
systemctl restart td-agent
systemctl -q enable td-agent
# Convenience

View File

@ -25,18 +25,6 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
fluentd:
build: ./fluentd
restart: always
volumes:
- /var/log:/var/log/hostlogs
networks:
- graylog
ports:
- 24224:24224
- 24224:24224/udp
- 5140:5140/udp
mongo:
image: mongo:4.2.2
restart: always

View File

@ -1,10 +0,0 @@
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/