mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 14:49:44 +00:00
Add apache2 filter for nextcloud
This commit is contained in:
parent
3e43810cf8
commit
9d16edfb3c
1 changed files with 10 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ data:
|
||||||
@include "#{ENV['FLUENTD_PROMETHEUS_CONF'] || 'prometheus'}.conf"
|
@include "#{ENV['FLUENTD_PROMETHEUS_CONF'] || 'prometheus'}.conf"
|
||||||
@include kubernetes.conf
|
@include kubernetes.conf
|
||||||
@include conf.d/*.conf
|
@include conf.d/*.conf
|
||||||
|
@include filters.conf
|
||||||
|
|
||||||
<match **>
|
<match **>
|
||||||
@type elasticsearch
|
@type elasticsearch
|
||||||
|
|
@ -52,6 +53,15 @@ data:
|
||||||
|
|
||||||
disable.conf: ""
|
disable.conf: ""
|
||||||
|
|
||||||
|
filters.conf: |
|
||||||
|
<filter kubernetes.var.log.containers.nextcloud-**>
|
||||||
|
@type parser
|
||||||
|
key_name log
|
||||||
|
<parse>
|
||||||
|
@type apache2
|
||||||
|
</parse>
|
||||||
|
</filter>
|
||||||
|
|
||||||
kubernetes.conf: |
|
kubernetes.conf: |
|
||||||
<label @FLUENT_LOG>
|
<label @FLUENT_LOG>
|
||||||
<match fluent.**>
|
<match fluent.**>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue