I use filebeat for catching logs from kubernetes.
Actual config is
- type: container paths: - /var/log/containers/*.log
I want to use a multiline config for some of my logs (/var/log/containers/celery-*.log), and another multiline config for all other logs (/var/log/containers/ -everything except celery- * logs).
I'd like to keep the wildcard definition instead of listing all logs file so it stays dynamic.
How can I achieve this ?