fluent-plugin-ec2-metadata icon indicating copy to clipboard operation
fluent-plugin-ec2-metadata copied to clipboard

Support ${hostname} placeholder

Open chotiwat opened this issue 3 years ago • 0 comments

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.

chotiwat avatar Nov 12 '21 20:11 chotiwat