Introduction
You may know, fluentd works on Windows (but not production ready). This article explain how to run (for testing).
RubyInstaller
Download Ruby and DevKit from RubyInstallre Downloads.
- Ruby 2.2.x (x64)
- Check "Add Ruby executables to your PATH"
- DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe
- run
ruby dk.rb init
- edit config.yml
- run
ruby dk.rb install
- run
Git
Get git installer from Download for Windows and run it.
During install, specify "Run Git from the Windows Command Prompt" on "Adjusting your PATH environment" screen.
Fluentd v12 for Windows
gem is not prepared yet. Therefore you need to make a gem and install as following.
git clone https://github.com/fluent/fluentd.git
cd fluentd
gem install bundler
bundle
bundle exec rake build
gem install pkg\fluentd-0.12.25.gem
Note: If the last command failed, browse to 'fluentd\pkg' to determine the current build number. For instance, the correct command could look like the following.
gem install pkg\fluentd-0.14.0.gem
Now you successfully installed.
Run!
Prepate configuration and run it.
fluentd -c ./example/in_forward.conf
Conclusion
Fluentd works on Windows but still needs more testers. If you find any bugs on testing, please report it on GitHub!