Update docker/fluentd/fluent.conf
This commit is contained in:
parent
22fb026a6c
commit
a776e5dd7b
|
@ -1,9 +1,20 @@
|
||||||
|
<system>
|
||||||
|
log_level debug
|
||||||
|
</system>
|
||||||
|
|
||||||
<source>
|
<source>
|
||||||
@type forward
|
@type forward
|
||||||
port 24224
|
port 24224
|
||||||
bind 0.0.0.0
|
bind 0.0.0.0
|
||||||
</source>
|
</source>
|
||||||
|
|
||||||
|
<source>
|
||||||
|
@type monitor_agent
|
||||||
|
bind 0.0.0.0
|
||||||
|
port 24220
|
||||||
|
tag fluentd.monitor.*
|
||||||
|
</source>
|
||||||
|
|
||||||
<filter docker.**>
|
<filter docker.**>
|
||||||
@type parser
|
@type parser
|
||||||
key_name log
|
key_name log
|
||||||
|
@ -32,3 +43,7 @@
|
||||||
headers {"Content-Type":"application/json"}
|
headers {"Content-Type":"application/json"}
|
||||||
</store>
|
</store>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
|
<match fluentd.monitor.**>
|
||||||
|
@type stdout
|
||||||
|
</match>
|
||||||
|
|
Loading…
Reference in New Issue