{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1","id":39205487,"html_url":"https://github.com/do-aki/fluent-plugin-hrforecast/pull/1","diff_url":"https://github.com/do-aki/fluent-plugin-hrforecast/pull/1.diff","patch_url":"https://github.com/do-aki/fluent-plugin-hrforecast/pull/1.patch","issue_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/1","number":1,"state":"open","locked":false,"title":"Add a secret parameter","user":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"body":"In fluentd 0.12.11 or later supports secret parameter feature.\r\nThis feature works in log as below:\r\n\r\n```log\r\n  <match metrics>\r\n    type hrforecast\r\n    hrfapi_url http://hrforecast.local/api/\r\n    graph_path service/${tag}/${key_name}\r\n    name_key_pattern ^field_(.*)$\r\n    enable_float_number true\r\n    datetime_key date_field\r\n    datetime_key_format %Y/%m/%d\r\n    datetime_format %Y-%m-%d %H:%M:%S\r\n    authentication basic\r\n    username hruser\r\n    password xxxxxx\r\n  </match>\r\n</ROOT>\r\n```","created_at":"2015-07-04T09:41:01Z","updated_at":"2015-07-04T09:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98ab795639aadbf93bb397bd85f039c5b1b7d5cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1/commits","review_comments_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1/comments","review_comment_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/1/comments","statuses_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/statuses/dbd54b85b4fb4674b4f12b9aca8762ec1c487a3a","head":{"label":"cosmo0920:add-secret-params","ref":"add-secret-params","sha":"dbd54b85b4fb4674b4f12b9aca8762ec1c487a3a","user":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"repo":{"id":38529077,"name":"fluent-plugin-hrforecast","full_name":"cosmo0920/fluent-plugin-hrforecast","owner":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cosmo0920/fluent-plugin-hrforecast","description":"fluentd output plugin for HRForecast","fork":true,"url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast","forks_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/forks","keys_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/teams","hooks_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/hooks","issue_events_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/issues/events{/number}","events_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/events","assignees_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/assignees{/user}","branches_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/branches{/branch}","tags_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/tags","blobs_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/git/refs{/sha}","trees_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/statuses/{sha}","languages_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/languages","stargazers_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/stargazers","contributors_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/contributors","subscribers_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/subscribers","subscription_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/subscription","commits_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/commits{/sha}","git_commits_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/git/commits{/sha}","comments_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/comments{/number}","issue_comment_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/issues/comments{/number}","contents_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/contents/{+path}","compare_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/merges","archive_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/downloads","issues_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/issues{/number}","pulls_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/pulls{/number}","milestones_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/milestones{/number}","notifications_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/labels{/name}","releases_url":"https://api.github.com/repos/cosmo0920/fluent-plugin-hrforecast/releases{/id}","created_at":"2015-07-04T09:34:17Z","updated_at":"2015-07-04T09:34:18Z","pushed_at":"2015-07-04T09:40:52Z","git_url":"git://github.com/cosmo0920/fluent-plugin-hrforecast.git","ssh_url":"git@github.com:cosmo0920/fluent-plugin-hrforecast.git","clone_url":"https://github.com/cosmo0920/fluent-plugin-hrforecast.git","svn_url":"https://github.com/cosmo0920/fluent-plugin-hrforecast","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"do-aki:master","ref":"master","sha":"76654f301e1fa20a163db572d5f3e979455c1cc7","user":{"login":"do-aki","id":302784,"avatar_url":"https://avatars.githubusercontent.com/u/302784?v=3","gravatar_id":"","url":"https://api.github.com/users/do-aki","html_url":"https://github.com/do-aki","followers_url":"https://api.github.com/users/do-aki/followers","following_url":"https://api.github.com/users/do-aki/following{/other_user}","gists_url":"https://api.github.com/users/do-aki/gists{/gist_id}","starred_url":"https://api.github.com/users/do-aki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/do-aki/subscriptions","organizations_url":"https://api.github.com/users/do-aki/orgs","repos_url":"https://api.github.com/users/do-aki/repos","events_url":"https://api.github.com/users/do-aki/events{/privacy}","received_events_url":"https://api.github.com/users/do-aki/received_events","type":"User","site_admin":false},"repo":{"id":20025956,"name":"fluent-plugin-hrforecast","full_name":"do-aki/fluent-plugin-hrforecast","owner":{"login":"do-aki","id":302784,"avatar_url":"https://avatars.githubusercontent.com/u/302784?v=3","gravatar_id":"","url":"https://api.github.com/users/do-aki","html_url":"https://github.com/do-aki","followers_url":"https://api.github.com/users/do-aki/followers","following_url":"https://api.github.com/users/do-aki/following{/other_user}","gists_url":"https://api.github.com/users/do-aki/gists{/gist_id}","starred_url":"https://api.github.com/users/do-aki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/do-aki/subscriptions","organizations_url":"https://api.github.com/users/do-aki/orgs","repos_url":"https://api.github.com/users/do-aki/repos","events_url":"https://api.github.com/users/do-aki/events{/privacy}","received_events_url":"https://api.github.com/users/do-aki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/do-aki/fluent-plugin-hrforecast","description":"fluentd output plugin for HRForecast","fork":false,"url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast","forks_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/forks","keys_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/teams","hooks_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/hooks","issue_events_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/events{/number}","events_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/events","assignees_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/assignees{/user}","branches_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/branches{/branch}","tags_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/tags","blobs_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/git/refs{/sha}","trees_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/statuses/{sha}","languages_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/languages","stargazers_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/stargazers","contributors_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/contributors","subscribers_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/subscribers","subscription_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/subscription","commits_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/commits{/sha}","git_commits_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/git/commits{/sha}","comments_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/comments{/number}","issue_comment_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/comments{/number}","contents_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/contents/{+path}","compare_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/merges","archive_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/downloads","issues_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues{/number}","pulls_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls{/number}","milestones_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/milestones{/number}","notifications_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/labels{/name}","releases_url":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/releases{/id}","created_at":"2014-05-21T15:16:44Z","updated_at":"2014-05-24T01:08:24Z","pushed_at":"2015-07-04T09:41:02Z","git_url":"git://github.com/do-aki/fluent-plugin-hrforecast.git","ssh_url":"git@github.com:do-aki/fluent-plugin-hrforecast.git","clone_url":"https://github.com/do-aki/fluent-plugin-hrforecast.git","svn_url":"https://github.com/do-aki/fluent-plugin-hrforecast","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1"},"html":{"href":"https://github.com/do-aki/fluent-plugin-hrforecast/pull/1"},"issue":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/1"},"comments":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/do-aki/fluent-plugin-hrforecast/statuses/dbd54b85b4fb4674b4f12b9aca8762ec1c487a3a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}