Hi,
I tried updating 7.7.0 and removing this part an the errors disappear but I'm not sure if I have to change it instead of removing.
By the other hand, to parser nginx-ingress-controller I don't have the logs in files
kubectl exec -ti nginx-ingress-controller-5c64888b48-h5mxp -n ingress-controller bash
bash-5.0$ ls -l /var/log/nginx/
total 0
lrwxrwxrwx 1 www-data www-data 11 Feb 24 12:47 access.log -> /dev/stdout
lrwxrwxrwx 1 www-data www-data 11 Feb 24 12:47 error.log -> /dev/stderr
I've tried with and without path, but doesn't log nothing in Kibana
filebeat.autodiscover:
providers:
- type: kubernetes
hints.enabled: true
templates:
- condition:
equals:
kubernetes.labels.app: nginx-ingress
config:
- module: nginx
ingress_controller:
enabled: true
var.paths: ["/var/log//nginx/*.log"]
The condition I think is correct, right?
Name: nginx-ingress-controller-5c64888b48-h5mxp
Namespace: ingress-controller
Priority: 0
Node: gke-apps-stage-default-node-pool-d001bfd8-tfpq/10.31.0.21
Start Time: Mon, 23 Mar 2020 12:38:08 +0100
Labels: app=nginx-ingress
app.kubernetes.io/component=controller
pod-template-hash=5c64888b48
release=nginx-ingress
I don't know where is the error, I think is about the path, but what do you think?
Thank you very much