Skip to content

Instantly share code, notes, and snippets.

@artem-hatchenko
Created October 21, 2025 11:00
Show Gist options
  • Select an option

  • Save artem-hatchenko/fbc61f17b8346114e0b76c94b821d729 to your computer and use it in GitHub Desktop.

Select an option

Save artem-hatchenko/fbc61f17b8346114e0b76c94b821d729 to your computer and use it in GitHub Desktop.
eks_fluent_bit_filter_kubernetes.tf
[FILTER]
Name kubernetes
Match ${var.opensearch_filter}.*
Kube_URL https://kubernetes.default.svc.cluster.local:443
Merge_Log On
# For rewrite_tag filter, Keep_log must be On
Keep_log On
K8S-Logging.Parser On
K8S-Logging.Exclude On
Kube_Tag_Prefix ${var.opensearch_filter}.var.log.containers.
Labels Off
Annotations Off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment