1 changed files with
10 additions and
7 deletions
-
fluent/fluent.conf
|
|
@ -14,11 +14,11 @@ |
|
|
|
</filter> |
|
|
|
|
|
|
|
<match mongo.*> |
|
|
|
# @type copy |
|
|
|
# <store> |
|
|
|
# @type stdout |
|
|
|
# </store> |
|
|
|
# <store> |
|
|
|
@type copy |
|
|
|
<store> |
|
|
|
@type stdout |
|
|
|
</store> |
|
|
|
<store> |
|
|
|
@type mongo |
|
|
|
|
|
|
|
host mongo |
|
|
@ -29,12 +29,15 @@ |
|
|
|
|
|
|
|
capped |
|
|
|
capped_size 1024m |
|
|
|
# interval |
|
|
|
|
|
|
|
<buffer> |
|
|
|
flush_interval 10s |
|
|
|
</buffer> |
|
|
|
# </store> |
|
|
|
|
|
|
|
<format> |
|
|
|
@type json |
|
|
|
</format> |
|
|
|
</store> |
|
|
|
# interval |
|
|
|
|
|
|
|
</match> |
|
|
|