1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-12-16 06:50:35 +00:00

Install td-agent plugins and update graylog host

This commit is contained in:
Kris Lamoureux 2020-03-04 16:09:50 -05:00
parent 802a2d4e10
commit 15f1d8bb32
Signed by: kris
GPG Key ID: A30022791E1719A4
2 changed files with 2 additions and 1 deletions

1
Vagrantfile vendored
View File

@ -37,6 +37,7 @@ Vagrant.configure("2") do |config|
cp --update /vagrant/td-agent.repo /etc/yum.repos.d/
yum check-update
yum install -y td-agent
td-agent-gem install fluent-plugin-gelf-hs gelf
cp /vagrant/td-agent.conf /etc/td-agent/td-agent.conf
systemctl restart td-agent
systemctl -q enable td-agent

View File

@ -43,7 +43,7 @@
<match **>
@type gelf
protocol tcp
host vagrant_graylog_1
host localhost
port 12201
flush_interval 5s
</match>