README.md in fluent-plugin-ec2-metadata-0.0.10 vs README.md in fluent-plugin-ec2-metadata-0.0.11

- old
+ new

@@ -22,16 +22,19 @@ 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 + output_tag ${instance_id}.${tag} <record> hostname ${tagset_name} instance_id ${instance_id} instance_type ${instance_type} az ${availability_zone} + private_ip ${private_ip} vpc_id ${vpc_id} ami_id ${image_id} account_id ${account_id} </record> </match> @@ -48,10 +51,11 @@ i-28b5ee77.foo.bar { "hostname" : "web0001", "instance_id" : "i-28b5ee77", "instance_type" : "m1.large", "az" : "us-west-1b", + "private_ip : "10.21.34.200", "vpc_id" : "vpc-25dab194", "account_id" : "123456789", "image_id" : "ami-123456", "message" : "hello ec2!" } @@ -63,14 +67,17 @@ 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 + <record> hostname ${tagset_name} instance_id ${instance_id} instance_type ${instance_type} + private_ip ${private_ip} az ${availability_zone} vpc_id ${vpc_id} ami_id ${image_id} account_id ${account_id} </record> @@ -84,9 +91,10 @@ * ${tag_parts} input tag splitted by '.'. you can use it like `${tag_parts[0]}` or `${tag_parts[-1]}` * ${instance_id} instance id * ${instance_type} instance type * ${availability_zone} availability zone * ${region} region +* ${private_ip} private ip * ${mac} MAC address * ${vpc_id} vpc id * ${subnet_id} subnet id * ${account_id} account id * ${image_id} ami image id