From 15f1d8bb32d448ed66eaaced0a72c2a8fb29f785 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Wed, 4 Mar 2020 16:09:50 -0500 Subject: [PATCH] Install td-agent plugins and update graylog host --- Vagrantfile | 1 + td-agent.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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