Open sjanorkar opened 1 month ago
Do you have any other clusterflows in the system? Based on the above ClusterFlow you should not get any logs at all, since there should be at least a 'select: {}' rule at the end.
No, this is the only active clusterflow. Actually I do see all the logs in the output. Seems like exclude feature isn't working properly.
Which logging operator version do you use?
Also what happens if you add a select statement, that filters for a non existing label at the end?
@sjanorkar any update? Which version are you running?
Describe the bug: ClusterFlow exclude logs feature is not working properly. Even after excluding the logs with the help of labels, container names I can see the logs pushed to the output.
Expected behaviour: All the labels, namespaces and container_names mentioned in match.exclude[] should not be present in the log destination
Steps to reproduce the bug: Use default logging Operator config.
Additional context: Add any other context about the problem here.
Environment details:
/kind bug