{"action":"created","issue":{"url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/19","labels_url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/19/comments","events_url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/19/events","html_url":"https://github.com/yunomu/fluent-plugin-cloudwatch/issues/19","id":58954269,"number":19,"title":"ELB plugin - difference between   dimensions_name & dimensions_value ","user":{"login":"ctippur","id":2225047,"avatar_url":"https://avatars.githubusercontent.com/u/2225047?v=3","gravatar_id":"","url":"https://api.github.com/users/ctippur","html_url":"https://github.com/ctippur","followers_url":"https://api.github.com/users/ctippur/followers","following_url":"https://api.github.com/users/ctippur/following{/other_user}","gists_url":"https://api.github.com/users/ctippur/gists{/gist_id}","starred_url":"https://api.github.com/users/ctippur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctippur/subscriptions","organizations_url":"https://api.github.com/users/ctippur/orgs","repos_url":"https://api.github.com/users/ctippur/repos","events_url":"https://api.github.com/users/ctippur/events{/privacy}","received_events_url":"https://api.github.com/users/ctippur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T19:15:27Z","updated_at":"2015-02-26T02:04:26Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to use this plugin to get alerts from CW. \r\n\r\nI seem to get UnHealthyHostCount datapoints is empty even after generating an alert.\r\n\r\nCan you please clarify the difference between them? Maybe I have it setup wrongly.\r\n  \r\ndimensions_name LoadBalancerName\r\n  dimensions_value YOUR_ELB_NAME\r\n\r\n- Shekar"},"comment":{"url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/comments/76109081","html_url":"https://github.com/yunomu/fluent-plugin-cloudwatch/issues/19#issuecomment-76109081","issue_url":"https://api.github.com/repos/yunomu/fluent-plugin-cloudwatch/issues/19","id":76109081,"user":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T02:04:26Z","updated_at":"2015-02-26T02:04:26Z","body":"Can you paste your configuration (except aws_key_id and aws_sec_key)?\r\nI got UnHealthyHostCount value by this configuration.\r\n\r\n```\r\n<source>\r\n  type cloudwatch\r\n  tag  cloudwatch.elb_health\r\n  aws_key_id  xxxx\r\n  aws_sec_key xxxx\r\n  cw_endpoint monitoring.ap-northeast-1.amazonaws.com\r\n  namespace AWS/ELB\r\n  metric_name HealthyHostCount,UnHealthyHostCount\r\n  dimensions_name LoadBalancerName\r\n  dimensions_value my-elb-name\r\n  statistics Average\r\n</source>\r\n```\r\n\r\nhttp://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_MonitoringLoadBalancerWithCW.html\r\n> UnHealthyHostCount\r\n> The count of the number of unhealthy instances in each Availability Zone. Hosts that have failed more health checks than the value of the unhealthy threshold are considered unhealthy. If cross-zone is enabled, the count of the number of unhealthy instances is calculated for all Availability Zones. Instances may become unhealthy due to connectivity issues, health checks returning non-200 responses (in the case of HTTP or HTTPS health checks), or timeouts when performing the health check.\r\n>\r\n> Preferred statistic: average\r\n\r\nIf your ELB is cross-zone enabled and `statistics Minimum`, reported value will be minimum  UnHealthyHostCount for each zones."}}