{"action":"opened","number":3026,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/3026","id":131052526,"html_url":"https://github.com/influxdata/telegraf/pull/3026","diff_url":"https://github.com/influxdata/telegraf/pull/3026.diff","patch_url":"https://github.com/influxdata/telegraf/pull/3026.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/3026","number":3026,"state":"open","locked":false,"title":"Fix issue #2386","user":{"login":"DanKans","id":9562437,"avatar_url":"https://avatars0.githubusercontent.com/u/9562437?v=4","gravatar_id":"","url":"https://api.github.com/users/DanKans","html_url":"https://github.com/DanKans","followers_url":"https://api.github.com/users/DanKans/followers","following_url":"https://api.github.com/users/DanKans/following{/other_user}","gists_url":"https://api.github.com/users/DanKans/gists{/gist_id}","starred_url":"https://api.github.com/users/DanKans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanKans/subscriptions","organizations_url":"https://api.github.com/users/DanKans/orgs","repos_url":"https://api.github.com/users/DanKans/repos","events_url":"https://api.github.com/users/DanKans/events{/privacy}","received_events_url":"https://api.github.com/users/DanKans/received_events","type":"User","site_admin":false},"body":"Add regular expression to tackle a problem #2386 \r\nChange:\r\n- Add regular expression to remove unwanted string\r\n- Create Unit Test for this case\r\n\r\n### Required for all PRs:\r\n\r\n- [x] Signed [CLA](https://influxdata.com/community/cla/).\r\n- [x] Associated README.md updated.\r\n- [x] Has appropriate unit tests.\r\n","created_at":"2017-07-18T10:25:30Z","updated_at":"2017-07-18T10:25:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/3026/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/3026/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/3026/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/a6aeea057aa4ed205871fca6633d76fc3f778bf2","head":{"label":"DanKans:fix_issue_2386","ref":"fix_issue_2386","sha":"a6aeea057aa4ed205871fca6633d76fc3f778bf2","user":{"login":"DanKans","id":9562437,"avatar_url":"https://avatars0.githubusercontent.com/u/9562437?v=4","gravatar_id":"","url":"https://api.github.com/users/DanKans","html_url":"https://github.com/DanKans","followers_url":"https://api.github.com/users/DanKans/followers","following_url":"https://api.github.com/users/DanKans/following{/other_user}","gists_url":"https://api.github.com/users/DanKans/gists{/gist_id}","starred_url":"https://api.github.com/users/DanKans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanKans/subscriptions","organizations_url":"https://api.github.com/users/DanKans/orgs","repos_url":"https://api.github.com/users/DanKans/repos","events_url":"https://api.github.com/users/DanKans/events{/privacy}","received_events_url":"https://api.github.com/users/DanKans/received_events","type":"User","site_admin":false},"repo":{"id":87797596,"name":"telegraf","full_name":"DanKans/telegraf","owner":{"login":"DanKans","id":9562437,"avatar_url":"https://avatars0.githubusercontent.com/u/9562437?v=4","gravatar_id":"","url":"https://api.github.com/users/DanKans","html_url":"https://github.com/DanKans","followers_url":"https://api.github.com/users/DanKans/followers","following_url":"https://api.github.com/users/DanKans/following{/other_user}","gists_url":"https://api.github.com/users/DanKans/gists{/gist_id}","starred_url":"https://api.github.com/users/DanKans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanKans/subscriptions","organizations_url":"https://api.github.com/users/DanKans/orgs","repos_url":"https://api.github.com/users/DanKans/repos","events_url":"https://api.github.com/users/DanKans/events{/privacy}","received_events_url":"https://api.github.com/users/DanKans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanKans/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/DanKans/telegraf","forks_url":"https://api.github.com/repos/DanKans/telegraf/forks","keys_url":"https://api.github.com/repos/DanKans/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanKans/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanKans/telegraf/teams","hooks_url":"https://api.github.com/repos/DanKans/telegraf/hooks","issue_events_url":"https://api.github.com/repos/DanKans/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/DanKans/telegraf/events","assignees_url":"https://api.github.com/repos/DanKans/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/DanKans/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/DanKans/telegraf/tags","blobs_url":"https://api.github.com/repos/DanKans/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanKans/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanKans/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanKans/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanKans/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/DanKans/telegraf/languages","stargazers_url":"https://api.github.com/repos/DanKans/telegraf/stargazers","contributors_url":"https://api.github.com/repos/DanKans/telegraf/contributors","subscribers_url":"https://api.github.com/repos/DanKans/telegraf/subscribers","subscription_url":"https://api.github.com/repos/DanKans/telegraf/subscription","commits_url":"https://api.github.com/repos/DanKans/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanKans/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanKans/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanKans/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanKans/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/DanKans/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanKans/telegraf/merges","archive_url":"https://api.github.com/repos/DanKans/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanKans/telegraf/downloads","issues_url":"https://api.github.com/repos/DanKans/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/DanKans/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/DanKans/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/DanKans/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanKans/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/DanKans/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/DanKans/telegraf/deployments","created_at":"2017-04-10T10:17:33Z","updated_at":"2017-04-10T10:17:38Z","pushed_at":"2017-07-18T10:22:05Z","git_url":"git://github.com/DanKans/telegraf.git","ssh_url":"git@github.com:DanKans/telegraf.git","clone_url":"https://github.com/DanKans/telegraf.git","svn_url":"https://github.com/DanKans/telegraf","homepage":"","size":13550,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"influxdata:master","ref":"master","sha":"f5a8415c784fcd4277bc84a00a45c407686f9183","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":33258973,"name":"telegraf","full_name":"influxdata/telegraf","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":false,"url":"https://api.github.com/repos/influxdata/telegraf","forks_url":"https://api.github.com/repos/influxdata/telegraf/forks","keys_url":"https://api.github.com/repos/influxdata/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/telegraf/teams","hooks_url":"https://api.github.com/repos/influxdata/telegraf/hooks","issue_events_url":"https://api.github.com/repos/influxdata/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/telegraf/events","assignees_url":"https://api.github.com/repos/influxdata/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/telegraf/tags","blobs_url":"https://api.github.com/repos/influxdata/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/telegraf/languages","stargazers_url":"https://api.github.com/repos/influxdata/telegraf/stargazers","contributors_url":"https://api.github.com/repos/influxdata/telegraf/contributors","subscribers_url":"https://api.github.com/repos/influxdata/telegraf/subscribers","subscription_url":"https://api.github.com/repos/influxdata/telegraf/subscription","commits_url":"https://api.github.com/repos/influxdata/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/telegraf/merges","archive_url":"https://api.github.com/repos/influxdata/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/telegraf/downloads","issues_url":"https://api.github.com/repos/influxdata/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/telegraf/deployments","created_at":"2015-04-01T16:28:44Z","updated_at":"2017-07-18T10:04:15Z","pushed_at":"2017-07-18T01:53:48Z","git_url":"git://github.com/influxdata/telegraf.git","ssh_url":"git@github.com:influxdata/telegraf.git","clone_url":"https://github.com/influxdata/telegraf.git","svn_url":"https://github.com/influxdata/telegraf","homepage":"","size":13727,"stargazers_count":3246,"watchers_count":3246,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1181,"mirror_url":null,"open_issues_count":440,"forks":1181,"open_issues":440,"watchers":3246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/3026"},"html":{"href":"https://github.com/influxdata/telegraf/pull/3026"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/3026"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/3026/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/3026/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/3026/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/a6aeea057aa4ed205871fca6633d76fc3f778bf2"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":32,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"DanKans"}}