{"id":18481498,"url":"https://github.com/joker1007/fluent-plugin-cloudwatch-put","last_synced_at":"2025-04-08T17:30:36.728Z","repository":{"id":56846926,"uuid":"108632093","full_name":"joker1007/fluent-plugin-cloudwatch-put","owner":"joker1007","description":"Fluentd output plugin to put metric data to AWS CloudWatch.","archived":false,"fork":false,"pushed_at":"2020-08-25T09:06:30.000Z","size":19,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T13:07:56.977Z","etag":null,"topics":["fluentd-output-plugin","fluentd-plugin","v14"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joker1007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-28T08:20:12.000Z","updated_at":"2022-01-25T14:30:28.000Z","dependencies_parsed_at":"2022-09-12T11:20:22.265Z","dependency_job_id":null,"html_url":"https://github.com/joker1007/fluent-plugin-cloudwatch-put","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joker1007%2Ffluent-plugin-cloudwatch-put","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joker1007%2Ffluent-plugin-cloudwatch-put/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joker1007%2Ffluent-plugin-cloudwatch-put/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joker1007%2Ffluent-plugin-cloudwatch-put/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joker1007","download_url":"https://codeload.github.com/joker1007/fluent-plugin-cloudwatch-put/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223336490,"owners_count":17128763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fluentd-output-plugin","fluentd-plugin","v14"],"created_at":"2024-11-06T12:24:00.999Z","updated_at":"2024-11-06T12:24:01.606Z","avatar_url":"https://github.com/joker1007.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-cloudwatch-put\n[![Build Status](https://travis-ci.org/joker1007/fluent-plugin-cloudwatch-put.svg?branch=master)](https://travis-ci.org/joker1007/fluent-plugin-cloudwatch-put)\n\n[Fluentd](http://fluentd.org/) output plugin to put metric data to AWS CloudWatch.\n\nThis plugin for fluentd-0.14.x or later.\n\n## Installation\n\n### RubyGems\n\n```\n$ gem install fluent-plugin-cloudwatch-put\n```\n\n### Bundler\n\nAdd following line to your Gemfile:\n\n```ruby\ngem \"fluent-plugin-cloudwatch-put\"\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\n## Plugin helpers\n\n* inject\n\n* See also: Fluent::Plugin::Output\n\n## Configuration\n\n```\n\u003cmatch cloudwatch.metric_name\u003e\n  @type cloudwatch_put\n\n  \u003cbuffer tag, key1\u003e\n    path cloudwatch.*.buffer\n\n    flush_interval 1m\n  \u003c/buffer\u003e\n\n  aws_key_id \"#{ENV[\"AWS_ACCESS_KEY_ID\"]}\"\n  aws_sec_key \"#{ENV[\"AWS_SECRET_ACCESS_KEY\"]}\"\n\n  region ap-northeast-1\n\n  namespace \"Dummy/Namespace\"\n  metric_name ${tag[1]}\n  unit Count\n  value_key value\n\n  use_statistic_sets\n\n  \u003cdimensions\u003e\n    name method\n    value ${key1}\n  \u003c/dimensions\u003e\n\u003c/match\u003e\n```\n\n### namespace (string) (required)\n\nCloudWatch metric namespace (support placeholder)\n\n### metric_name (string) (required)\n\nCloudWatch metric name (support placeholder)\n\n### key_as_metric_name (bool) (optional)\n\nUse record key as metric name\n\nDefault value: `false`\n\n### unit (string) (required)\n\nCloudWatch metric unit (support placeholder)\n\n### value_key (array\\\u003cstring\\\u003e) (required)\n\nUse this key as metric value\n\n### storage_resolution (integer) (optional)\n\nCloudwatch storage resolution\n\nDefault value: `60`.\n\n### use_statistic_sets (bool) (optional)\n\nIf this is true, aggregates record chunk before put metric\n\n\n### \\\u003cdimensions\\\u003e section (required) (multiple)\n\n#### name (string) (required)\n\nDimension name (support placeholder)\n\n#### key (string) (optional)\n\nUse this key as dimension value. If use_statistic_sets is true, this param is not supported. Use `value`\n\n#### value (string) (optional)\n\nUse static value as dimension value (support placeholder)\n\n\n### \\\u003cbuffer\\\u003e section (optional) (multiple)\n\n#### chunk_limit_size (optional)\n\nDefault value: `30720`.\n\n#### chunk_limit_records (optional)\n\nDefault value: `20`.\n\n## Configuration for Authentication\n\n### aws_key_id (string) (optional)\n\nAWS access key id\n\n### aws_sec_key (string) (optional)\n\nAWS secret key.\n\n### region (string) (optional)\n\nregion name\n\nDefault value: `us-east-1`.\n\n### proxy_uri (string) (optional)\n\nURI of proxy environment\n\n### \\\u003cassume_role_credentials\\\u003e section (optional) (single)\n\n#### role_arn (string) (required)\n\nThe Amazon Resource Name (ARN) of the role to assume\n\n#### role_session_name (string) (required)\n\nAn identifier for the assumed role session\n\n#### policy (string) (optional)\n\nAn IAM policy in JSON format\n\n#### duration_seconds (integer) (optional)\n\nThe duration, in seconds, of the role session (900-3600)\n\n#### external_id (string) (optional)\n\nA unique identifier that is used by third parties when assuming roles in their customers' accounts.\n\n### \\\u003cinstance_profile_credentials\\\u003e section (optional) (single)\n\n#### retries (integer) (optional)\n\nNumber of times to retry when retrieving credentials\n\n#### ip_address (string) (optional)\n\nIP address (default:169.254.169.254)\n\n#### port (integer) (optional)\n\nPort number (default:80)\n\n#### http_open_timeout (float) (optional)\n\nNumber of seconds to wait for the connection to open\n\n#### http_read_timeout (float) (optional)\n\nNumber of seconds to wait for one block to be read\n\n### \\\u003cshared_credentials\\\u003e section (optional) (single)\n\n#### path (string) (optional)\n\nPath to the shared file. (default: $HOME/.aws/credentials)\n\n#### profile_name (string) (optional)\n\nProfile name. Default to 'default' or ENV['AWS_PROFILE']\n\n## Copyright\n\n* Copyright(c) 2017- joker1007\n* License\n  * MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoker1007%2Ffluent-plugin-cloudwatch-put","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoker1007%2Ffluent-plugin-cloudwatch-put","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoker1007%2Ffluent-plugin-cloudwatch-put/lists"}