From 3394de4730bdb0499fe4e5391ffb6fd622e5ae9f Mon Sep 17 00:00:00 2001 From: jaskaransarkaria Date: Wed, 20 Dec 2023 10:23:05 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20push=20modsec=20logs=20f?= =?UTF-8?q?rom=20modsec=20controller?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configmap.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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