fluentd: Install fluent-plugin-mysql on RHEL 7

fluent-plugin-mysql is a fluentd plugin that allows you to send logdata to MySQL/Mariadb database. However, it is a bit hard to find the exact details on how to install this in RHEL 7 (minimal install).

So here we go…

  • yum-config-manager –enable rhel-7-server-optional-rpms
  • yum install -y ruby-devel mysql-devel
  • /opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-mysql
  • Profit!!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s