I elasticsearchで私dockerizedアプリケーションのログを集中管理するためにEFKスタック(Elasticsearch、Fluentd、Kibana)を使用してきた(http://docs.fluentd.org/v0.12/articles/docker-logging-efk-compose)ドッキング用コンテナをFluentdと** stdout **に同時にログできますか?
しかし同時にで私は標準出力でログを表示したいです。 ..
現時点では、Fluentdのログドライバでドッキングコンテナを実行すると、stdoutのログが表示されません。 Anythingは、stdoutとfluentdのログを同時に有効にする方法を知っています...?
fluetnd.confファイルは、以下の通りである:JSONとjournald:
<source>
@type forward
port 24224
bind 0.0.0.0
</source>
<match alert.**>
@type copy
<store>
@type elasticsearch
host elasticsearch
port 9200
logstash_format true
logstash_prefix alert
logstash_dateformat %Y%m%d
type_name access_log
tag_key @log_name
flush_interval 1s
</store>
<store>
@type stdout
</store>
</match>
<match measurements.**>
@type copy
<store>
@type elasticsearch
host elasticsearch
port 9200
logstash_format true
logstash_prefix measurements
logstash_dateformat %Y%m%d
type_name access_log
tag_key @log_name
flush_interval 1s
</store>
<store>
@type stdout
</store>
</match>
<match *.**>
@type copy
<store>
@type elasticsearch
host elasticsearch
port 9200
logstash_format true
logstash_prefix fluentd
logstash_dateformat %Y%m%d
include_tag_key true
type_name access_log
tag_key @log_name
flush_interval 1s
</store>
<store>
@type stdout
</store>
</match>