config fluentd to buffer logs for 10s before sending to loggly
This commit is contained in:
@@ -34,4 +34,4 @@ services:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 64M
|
||||
memory: 128M
|
||||
|
||||
@@ -12,65 +12,91 @@
|
||||
|
||||
<match nextcloud>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/nextcloud
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/nextcloud
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match gitea>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/gitea
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/gitea
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match dkui>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/dkui
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/dkui
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match cron>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/cron
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/cron
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match datadog>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/datadog
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/datadog
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match memcached>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/memcached
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/memcached
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match mariadb>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/portainer
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/portainer
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match dkregistry>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/dkregistry
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/dkregistry
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match postgres>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/postgres
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/postgres
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match minio>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/minio
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/minio
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match redis>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/redis
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/redis
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match sslproxy>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/sslproxy
|
||||
@type loggly_buffered
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/sslproxy
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
<match **>
|
||||
@type loggly
|
||||
loggly_url https://logs-01.loggly.com/inputs/22feaabc-c080-4407-86c3-ae9052999786/tag/fluentd
|
||||
loggly_url https://logs-01.loggly.com/bulk/22feaabc-c080-4407-86c3-ae9052999786/tag/fluentd
|
||||
buffer_type memory
|
||||
flush_interval 10s
|
||||
</match>
|
||||
|
||||
Reference in New Issue
Block a user