Skip to content

Instantly share code, notes, and snippets.

@chilledornaments
Created March 29, 2019 21:13
Show Gist options
  • Save chilledornaments/c07b6582bccd8dbab39f37018feb4a8b to your computer and use it in GitHub Desktop.
Save chilledornaments/c07b6582bccd8dbab39f37018feb4a8b to your computer and use it in GitHub Desktop.
Installing the GELF plugin for td-agent on CentOS 7
#!/usr/bin/env bash
# I've spent too much time banging my head against the wall trying to do this to not document it
cd /etc/td-agent/plugin/ && sudo wget https://raw.githubusercontent.com/emsearcy/fluent-plugin-gelf/master/lib/fluent/plugin/out_gelf.rb
sudo /usr/sbin/td-agent-gem install gelf
echo "Installed td-agent GELF plugin"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment