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
Hi,
I’m currently using the OpenShift Logging Operator to push application logs to Loki. However, Vector is currently forwarding logs from all applications deployed in the OpenShift project (namespace) to Loki.
Is there a way to configure Vector so that it only pushes logs to Loki if a specific label—such as push_logs=enabled—is present on the pod or namespace? I’d like to avoid sending all logs and instead only forward those that explicitly opt in with this label.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I’m currently using the OpenShift Logging Operator to push application logs to Loki. However, Vector is currently forwarding logs from all applications deployed in the OpenShift project (namespace) to Loki.
Is there a way to configure Vector so that it only pushes logs to Loki if a specific label—such as push_logs=enabled—is present on the pod or namespace? I’d like to avoid sending all logs and instead only forward those that explicitly opt in with this label.
Beta Was this translation helpful? Give feedback.
All reactions