Help us understand the problem. What is going on with this article?

Fluentd on Windows with Ruby 2.2

More than 3 years have passed since last update.

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

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!

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away