README.md in fluent-plugin-ec2-metadata-0.1.2 vs README.md in fluent-plugin-ec2-metadata-0.1.3

- old
+ new

@@ -1,15 +1,14 @@ # fluent-plugin-ec2-metadata [![Gem Version](https://badge.fury.io/rb/fluent-plugin-ec2-metadata.svg)](http://badge.fury.io/rb/fluent-plugin-ec2-metadata) [![Build Status](https://travis-ci.org/takus/fluent-plugin-ec2-metadata.svg?branch=master)](https://travis-ci.org/takus/fluent-plugin-ec2-metadata) -[![Dependency Status](https://gemnasium.com/takus/fluent-plugin-ec2-metadata.svg)](https://gemnasium.com/takus/fluent-plugin-ec2-metadata) [![Test Coverage](https://codeclimate.com/github/takus/fluent-plugin-ec2-metadata/badges/coverage.svg)](https://codeclimate.com/github/takus/fluent-plugin-ec2-metadata/coverage) [![Code Climate](https://codeclimate.com/github/takus/fluent-plugin-ec2-metadata/badges/gpa.svg)](https://codeclimate.com/github/takus/fluent-plugin-ec2-metadata) [![Codacy Badge](https://api.codacy.com/project/badge/grade/16f6786edb554f1ea7462353808011d6)](https://www.codacy.com/app/takus/fluent-plugin-ec2-metadata) -[Fluentd](http://fluentd.org) plugin to add ec2 metadata fields to a event record +[Fluentd](http://fluentd.org) plugin to add Amazon EC2 metadata fields to a event record ## Requirements | fluent-plugin-ec2-metadata | fluentd | ruby | |--------------------|------------|--------| @@ -24,16 +23,17 @@ ## Configuration Example: <match foo.**> - type ec2_metadata + @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 true # Optional, default false output_tag ${instance_id}.${tag} <record> hostname ${tagset_name} instance_id ${instance_id} @@ -69,15 +69,16 @@ ``` Or you can use filter version: <filter foo.**> - type ec2_metadata + @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 true # Optional, default false <record> hostname ${tagset_name} instance_id ${instance_id} instance_type ${instance_type}