Hello,
We are using Fluent bit as a daemon set to forward infra related logs. We are able to successfully extract the logs per se.
However, I am stuck while trying to retrieve the following info:
1. path of the log file. It is able to retrieve using /var/log/container/*whatwewant*, however we need the path of this log file as the source.
2. Name of the log file as the sourcetype., which we can perform regex on.
3. Podname on which this log file is present.
Technically, I am able to have these values show up using event_source, event_source_type, event_host etc., but need to bring these values dynamically.
Thanks,
Partha