This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/monitoring/fluent.conf.j2

25 lines
463 B
Text
Raw Normal View History

2023-08-02 16:07:24 +00:00
# vi: ft=yaml
# Receive events from 24224/tcp
# This is used by log forwarding and the fluent-cat command
<source>
@type forward
2023-08-07 20:46:53 +00:00
port {{ fluent_forward_port }}
2023-08-02 16:07:24 +00:00
</source>
2023-08-23 15:42:03 +00:00
<match cpu memory diskfree docker.forgejo_forgejo.**>
2023-08-02 16:07:24 +00:00
@type elasticsearch
host maestro.dmz
port {{ elasticsearch_port }}
include_timestamp true
logstash_format true
logstash_prefix fluentd.${tag}
2023-08-02 16:07:24 +00:00
</match>
2023-08-23 15:42:03 +00:00
<match **>
@type null
</match>
2023-08-02 16:07:24 +00:00
<system>
log_level info
</system>