diff --git a/configmap.tf b/configmap.tf index 4785c98..2d57585 100644 --- a/configmap.tf +++ b/configmap.tf @@ -56,7 +56,7 @@ resource "kubernetes_config_map" "fluent-bit-config" { [INPUT] Name tail - Alias modsec_nginx_ingress + Alias modsec_nginx_ingress_stdout Tag cp-ingress-modsec-stdout.* Path /var/log/containers/ingress-controllers_nginx-ingress-modsec-controller*.log Parser cri-containerd @@ -75,7 +75,7 @@ resource "kubernetes_config_map" "fluent-bit-config" { regex log (ModSecurity-nginx|modsecurity|OWASP_CRS|owasp-modsecurity-crs) [FILTER] Name kubernetes - Alias modsec_nginx_ingress + Alias modsec_nginx_ingress_stdout Match cp-ingress-modsec-stdout.* Kube_Tag_Prefix cp-ingress-modsec-stdout.var.log.containers. Kube_URL https://kubernetes.default.svc:443