diff --git a/Vagrantfile b/Vagrantfile index 62c80e2..797f920 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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 diff --git a/td-agent.conf b/td-agent.conf index f970693..080404a 100644 --- a/td-agent.conf +++ b/td-agent.conf @@ -43,7 +43,7 @@ @type gelf protocol tcp - host vagrant_graylog_1 + host localhost port 12201 flush_interval 5s