fluent-plugin-ec2-metadata
fluent-plugin-ec2-metadata copied to clipboard
Support ${hostname} placeholder
EC2 instances do not always have a Name
tag, e.g. EKS worker nodes. When the tag is missing, fluentd logs are spammed by the plugin with [warn]: [filter_ec2_metadata] ec2-metadata: unknown placeholder
${tagset_name} found in a tag
. This PR exposes the ${hostname}
placeholder that we can use instead of the Name
tag.