Installing Fluentd Using Ruby Gem
Here’s just a little update of the process found here, Installing Fluentd using Ruby Gem on OpenSuSE 12.1
zypper install ruby
zypper install ruby-devel
gem install fluentd --no-ri --no-rdoc
cd /etc
fluentd1.9 --setup ./fluent
vi /etc/fluent/fluent.conf # config file, there's some forwarding server configured here that you may want to alter or remove
gem install fluent-plugin-record-reformer # a couple of useful plugins
gem install fluent-plugin-grep
fluentd1.9 -c /etc//fluent/fluent.conf -vv & # Test fluentd
To make fluentd execute on startup, place the following commands in /etc/init.d/fluent, i.e.
#!/bin/bash
/usr/bin/fluentd1.9 -c /etc/fluent/fluent.conf
Then make executable and register with the system to start on boot
chmod +x /etc/init.d/fluent
/usr/sbin/innserv fluent