How to extract namespace and pod name from filename label in Grafana Alloy from loki.source.file
I have a Kubernetes cluster with Grafana Alloy deployed as a DeamonSet with the following configuration to fetch container logs:
I have a Kubernetes cluster with Grafana Alloy deployed as a DeamonSet with the following configuration to fetch container logs: