1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 17:09:45 +00:00

Add apache2 filter for nextcloud

This commit is contained in:
Emma 2020-04-18 16:35:02 -06:00
parent 3e43810cf8
commit 9d16edfb3c

View file

@ -11,6 +11,7 @@ data:
@include "#{ENV['FLUENTD_PROMETHEUS_CONF'] || 'prometheus'}.conf"
@include kubernetes.conf
@include conf.d/*.conf
@include filters.conf
<match **>
@type elasticsearch
@ -52,6 +53,15 @@ data:
disable.conf: ""
filters.conf: |
<filter kubernetes.var.log.containers.nextcloud-**>
@type parser
key_name log
<parse>
@type apache2
</parse>
</filter>
kubernetes.conf: |
<label @FLUENT_LOG>
<match fluent.**>