|
|
@ -4,14 +4,22 @@ |
|
|
|
bind 0.0.0.0 |
|
|
|
</source> |
|
|
|
|
|
|
|
<filter mongo.*> |
|
|
|
@type parser |
|
|
|
key_name log |
|
|
|
reserve_data true |
|
|
|
<parse> |
|
|
|
@type json # apache2, nginx, etc. |
|
|
|
</parse> |
|
|
|
</filter> |
|
|
|
# <filter mongo.*> |
|
|
|
# @type parser |
|
|
|
# key_name log |
|
|
|
# reserve_data true |
|
|
|
# <parse> |
|
|
|
# @type json # apache2, nginx, etc. |
|
|
|
# </parse> |
|
|
|
# </filter> |
|
|
|
|
|
|
|
# <filter mongo.mongo> |
|
|
|
# @type record_transformer |
|
|
|
|
|
|
|
# # remove key1 and key2 keys from record |
|
|
|
# remove_keys $.log.t |
|
|
|
# </filter> |
|
|
|
|
|
|
|
|
|
|
|
<match mongo.*> |
|
|
|
@type copy |
|
|
|