Created
March 29, 2019 21:13
-
-
Save chilledornaments/c07b6582bccd8dbab39f37018feb4a8b to your computer and use it in GitHub Desktop.
Installing the GELF plugin for td-agent on CentOS 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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