You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugs should be filed for issues encountered whilst operating logging-operator.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors. #logging-operator
Please provide as much detail as possible.
Describe the bug:
I want to send logs from fluentd to a kafka cluster. The logs are coming from multiple namespaces and I want to send them in a specific topic named after the namespace. E.g logs from namespace cattle-monitoring-system should go to the topic cattle-monitoring-system-logs
I have used the following manifest for ClusterFlow to extract a namespace_name key.
Expected behaviour:
I would expect fluentd to send the logs to a dynamically generated topic based on the field topic_key so I can consume the logs from that specific topic.
Additional context:
If I set the default_topic, I can consume the messages from all the namespaces, but if I try to consume the messages from another topic, let's say cattle-monitoring-system-logs, I get no messages. I also created all the topics in advance.
Describe the bug:
I want to send logs from fluentd to a kafka cluster. The logs are coming from multiple namespaces and I want to send them in a specific topic named after the namespace. E.g logs from namespace
cattle-monitoring-system
should go to the topiccattle-monitoring-system-logs
I have used the following manifest for ClusterFlow to extract a namespace_name key.
I have used this ClusterOutput:
This is a part of the generated fluentd.conf:
Expected behaviour:
I would expect fluentd to send the logs to a dynamically generated topic based on the field
topic_key
so I can consume the logs from that specific topic.Additional context:
If I set the default_topic, I can consume the messages from all the namespaces, but if I try to consume the messages from another topic, let's say
cattle-monitoring-system-logs
, I get no messages. I also created all the topics in advance.Environment details:
2025-02-03 18:47:58.878572656 +0000 cattle-monitoring-system: {"log":"ts=2025-02-03T18:47:58.878Z caller=main.go:167 level=info scrape_id=01084bd4-0885-4107-8428-699dac7c675b msg=\"Retrieved scrape response\"\n","stream":"stderr","time":"2025-02-03T18:47:58.878572656Z","kubernetes":{"pod_name":"pushprox-kube-controller-manager-client-96cgz","namespace_name":"cattle-monitoring-system","pod_id":"138b53a5-4554-4c8f-a6c7-d102f4894ab2","labels":{"component":"kube-controller-manager","controller-revision-hash":"f69cbd454","k8s-app":"pushprox-kube-controller-manager-client","pod-template-generation":"4","provider":"kubernetes","release":"rancher-monitoring"},"host":"....","container_name":"pushprox-client","docker_id":"ab3c3f305ca7c78b3e4b48f5dbce466842587938ac21e2a12fbe5595c3d12f49","container_hash":"artifactory..../rancher/pushprox-client@sha256:e5784cfff95cc8590cf64bdf0a0c8e173e4a49ffc81457b2543edc9d7c8adbd6","container_image":"artifactory.../rancher/pushprox-client:v0.1.3-rancher2-client"},"namespace_name":"cattle-monitoring-system-logs"}
/kind bug
The text was updated successfully, but these errors were encountered: