I have a pod which writes multiple log files (in different format) like
And the pod has label: payment
Now how do I create a Filebeat DeamonSet which looks for pod with
label: payment and ships the
custom1.log with tag
custom2.log with tag
format_2 to Logstash
And since pod's are ephemeral it should ship logs even if new pods are added.
It would be really helpful if I get a Filebeat configuration for the above requirement.