Hi all -
I'm trying to route messages to different fluentd instances based on kubernetes labels. A basic architecture diagram is below:
kubernetes pods -> docker logs -> fluentd docker parser -> then route based on "logparsingservice" kubernetes label.
If a "logparsingservice" label exists on a pod, logs will be shipped to the specified URL (kubernetes.labels.logparsingservice="myfancylogparser" would get routed to "myfancylogparser") ...if one doesn't exist, the logs will be shipped to a "default" log collector.
I'm seeing the kubernetes metadata correctly attached to logs from kubernetes pods, but all logs, even those from pods with the "logparsingservice" label are going to the "default" log collector.
I have "proven" the rewrite_tag_filter works correctly when running locally (with 3 fluentd instances) without kubernetes...when I pass data with a json structure containing "kubernetes.labels.logparsingservice" to my local test, the routing works as expected...
Any ideas on where to look here, or what to look for?
Thanks.
Bryan