README.md in fluent-plugin-cloudwatch-1.2.5 vs README.md in fluent-plugin-cloudwatch-1.2.6

- old
+ new

@@ -1,6 +1,6 @@ -# fluent-plugin-cloudwatch +# fluent-plugin-cloudwatch [![Build Status](https://travis-ci.org/yunomu/fluent-plugin-cloudwatch.png)](https://travis-ci.org/yunomu/fluent-plugin-cloudwatch/) ## Overview ***AWS CloudWatch*** input plugin. @@ -185,9 +185,32 @@ ``` 2013-06-10 02:03:00 +0900 cloudwatch {"EstimatedCharges_in_USD":"543.175"} 2013-06-10 04:03:00 +0900 cloudwatch {"EstimatedCharges_in_USD":"550.39"} +``` + +### GET StorageGateway Metirc + +```config + type cloudwatch + tag cloudwatch + aws_key_id YOUR_AWS_KEY_ID + aws_sec_key YOUR_AWS_SECRET/KE + cw_endpoint monitoring.us-east-1.amazonaws.com + + namespace AWS/StorageGateway + metric_name CacheHitPercent,CachePercentUsed + dimensions_name GatewayId,GatewayName + dimensions_value sgw-XXXXXXXX,mygateway + statistics Average +``` + +#### output data format + +``` +2014-01-20 20:12:00 +0900 cloudwatch: {"CacheHitPercent":0.0} +2014-01-20 20:12:00 +0900 cloudwatch: {"CachePercentUsed":95.15519175634687} ``` ## Contributing 1. Fork it