fluent-plugin-ec2-metadata
fluent-plugin-ec2-metadata copied to clipboard
Fluentd output plugin to add Amazon EC2 metadata into messages
I'm facing issue when use this plugin with google-fluentd 1.10.0 on CentOS7 This plugin work on google-fluentd 1.9.12 but when I upgrade to 1.10.0 it does not work and I...
It looks like this plugin doesn't work with the latest version of fluentd ``` 'fluent-plugin-ec2-metadata' version '0.1.3' 'fluentd' version '1.9.1' ``` Using the following filter policy: ``` @type ec2_metadata hostname...
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...
Would it be possible to support [metadata endpoint version 3](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html)? The old, HTTP based endpoint from v2 is not available to AWS Fargate tasks using [platform version 1.3.0](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html#available_pv) and above,...
For a record that does not contain a simple value (i.e. starting with the tagset phrase), the plugin returns no such attribute. Example of configuration fragment: ``` my_json {"hostname":"${tagset_name}","instance_id":"${instance_id}","instance_type":"${instance_type}"} ```...
Changing the tagset detection (no required for the beginning of the phrase) so that the tag can be searched for in a not simple value
With this configuration: ``` @type ec2_metadata # aws_key_id YOUR_AWS_KEY_ID # aws_sec_key YOUR_AWS_SECRET/KEY metadata_refresh_seconds 300 # Optional, default 300 seconds imdsv2 false # Optional, default false output_tag ${availability_zone}.${tag} ``` I get...