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:
parent
802a2d4e10
commit
15f1d8bb32
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -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
|
||||
|
@ -43,7 +43,7 @@
|
||||
<match **>
|
||||
@type gelf
|
||||
protocol tcp
|
||||
host vagrant_graylog_1
|
||||
host localhost
|
||||
port 12201
|
||||
flush_interval 5s
|
||||
</match>
|
||||
|
Loading…
Reference in New Issue
Block a user