I'm using Fluent-Bit to ship kubernetes container logs into cloudwatch. This config is working fine. Instead of output-elasticsearch.conf
I have following:
output-cloudwatch.conf: |
[OUTPUT]
Name cloudwatch_logs
Match *
region us-east-1
log_group_name /aws/eks/eks-cluster-1234/containers
log_stream_prefix <kubernetes-namespace>
auto_create_group On
How can I grab the kubernetes namespace value for this config? So our cloudwatch logs will be little bit organized.
Thank you.