Kubernetes - Monitoring and Logging
You want to filter out logs from Kubernetes system namespaces (like kube-system and default) before sending to Elasticsearch in Fluentd. Which configuration snippet achieves this?
filter ** {
@type grep
key kubernetes.namespace_name
pattern ^(kube-system|default)$
} excludes both kube-system and default namespaces correctly; others exclude only one or do wrong action.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions