超今更感が有りますが、fluentdを使ってログを柔軟に扱えるシステムを組んでみようかなあって思ってしまいました。 せっかくだから、dockerを使って、ローカルでAWSチックな分散システムにでもしてみようかなと思います。 ロードマップ というほどだいそれたものではないですが、こんなことやりたいよっていうのを示します。 PHPログを同じサーバ上のFluentdに流す Fluentdから別の集約用のFluentdにログを流す 集約用のFluentdからMongoDBにログを流す これらの機能をdockerのコンテナ上で実現しようと考えました。 で、題名から見ても分かる通り、妙に分量が多くなってしまったので、今回はロードマップの1番までの内容を報告しようと思います。 結果 経緯とかは後で書きますが、まずはどうなったかの結果だけ書きますと、 https://github.com/niisan-t