| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <source>
- @type forward
- port 24224
- bind 0.0.0.0
- </source>
- <filter logback.**>
- @type record_transformer
- remove_keys ["caller", "throwable"]
- <record>
- fluentd "#{Socket.gethostname}"
- tag ${tag}
- application ${tag_parts[1]}
- hostname ${tag_suffix[2]}
- </record>
- </filter>
- <match **>
- @type copy
- //<store>
- // @type stdout
- //</store>
- <store>
- @type loki
- url "http://192.168.56.137:3100"
- extra_labels {"from":"fluentd-aggr"}
- <label>
- application
- hostname
- </label>
- <buffer>
- flush_thread_count 4
- chunk_limit_size 8M
- queue_limit_length 8
- retry_max_interval 30
- retry_forever false
- flush_interval 15s
- flush_at_shutdown true
- </buffer>
- </store>
- </match>
|