{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/beats/pulls/comments/175397521","pull_request_review_id":104917121,"id":175397521,"diff_hunk":"@@ -0,0 +1,198 @@\n+package graphite\n+\n+import (\n+\t\"time\"\n+\n+\t\"github.com/elastic/beats/libbeat/common\"\n+\t\"github.com/elastic/beats/libbeat/logp\"\n+\n+\t\"github.com/elastic/beats/packetbeat/protos\"\n+\ttcp1 \"github.com/elastic/beats/packetbeat/protos/tcp\"\n+\t\"github.com/elastic/beats/packetbeat/publish\"\n+)\n+\n+// tcp application level protocol analyzer plugin\n+type tcp struct {\n+\tports        protos.PortsConfig\n+\tparserConfig parserConfig\n+\ttransConfig  transactionConfig\n+\tpub          transPub\n+}\n+\n+// Application Layer tcp stream data to be stored on tcp connection context.\n+type connection struct {\n+\tstreams [2]*stream\n+\ttrans   transactions\n+}\n+\n+// graphite application layer data\n+type GraphiteJSON struct {","path":"packetbeat/protos/graphite/graphite.go","position":29,"original_position":29,"commit_id":"0984dc6ac9f0e8b9e41bd587c576a97f2311ae2b","original_commit_id":"0984dc6ac9f0e8b9e41bd587c576a97f2311ae2b","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"type name will be used as graphite.GraphiteJSON by other packages, and that stutters; consider calling this JSON","created_at":"2018-03-19T11:05:58Z","updated_at":"2018-03-19T11:05:58Z","html_url":"https://github.com/elastic/beats/pull/4221#discussion_r175397521","pull_request_url":"https://api.github.com/repos/elastic/beats/pulls/4221","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments/175397521"},"html":{"href":"https://github.com/elastic/beats/pull/4221#discussion_r175397521"},"pull_request":{"href":"https://api.github.com/repos/elastic/beats/pulls/4221"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/4221","id":119120905,"html_url":"https://github.com/elastic/beats/pull/4221","diff_url":"https://github.com/elastic/beats/pull/4221.diff","patch_url":"https://github.com/elastic/beats/pull/4221.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/4221","number":4221,"state":"open","locked":false,"title":"added graphite protocol","user":{"login":"sudhindrasajjal","id":9416814,"avatar_url":"https://avatars2.githubusercontent.com/u/9416814?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhindrasajjal","html_url":"https://github.com/sudhindrasajjal","followers_url":"https://api.github.com/users/sudhindrasajjal/followers","following_url":"https://api.github.com/users/sudhindrasajjal/following{/other_user}","gists_url":"https://api.github.com/users/sudhindrasajjal/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhindrasajjal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhindrasajjal/subscriptions","organizations_url":"https://api.github.com/users/sudhindrasajjal/orgs","repos_url":"https://api.github.com/users/sudhindrasajjal/repos","events_url":"https://api.github.com/users/sudhindrasajjal/events{/privacy}","received_events_url":"https://api.github.com/users/sudhindrasajjal/received_events","type":"User","site_admin":false},"body":"added [Graphite](https://graphite.readthedocs.io/en/latest/) protocol for Packetbeat. Publishes to Kibana as a JSOn struct","created_at":"2017-05-05T07:22:52Z","updated_at":"2018-03-19T11:05:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01267c455874f880bfaa1c86f30598123b1c0266","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":294278531,"url":"https://api.github.com/repos/elastic/beats/labels/Packetbeat","name":"Packetbeat","color":"008000","default":false},{"id":425062851,"url":"https://api.github.com/repos/elastic/beats/labels/adoptme","name":"adoptme","color":"207de5","default":false},{"id":216798909,"url":"https://api.github.com/repos/elastic/beats/labels/in%20progress","name":"in progress","color":"207de5","default":false},{"id":228068770,"url":"https://api.github.com/repos/elastic/beats/labels/review","name":"review","color":"207de5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/4221/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/4221/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/4221/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/0984dc6ac9f0e8b9e41bd587c576a97f2311ae2b","head":{"label":"sudhindrasajjal:master","ref":"master","sha":"0984dc6ac9f0e8b9e41bd587c576a97f2311ae2b","user":{"login":"sudhindrasajjal","id":9416814,"avatar_url":"https://avatars2.githubusercontent.com/u/9416814?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhindrasajjal","html_url":"https://github.com/sudhindrasajjal","followers_url":"https://api.github.com/users/sudhindrasajjal/followers","following_url":"https://api.github.com/users/sudhindrasajjal/following{/other_user}","gists_url":"https://api.github.com/users/sudhindrasajjal/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhindrasajjal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhindrasajjal/subscriptions","organizations_url":"https://api.github.com/users/sudhindrasajjal/orgs","repos_url":"https://api.github.com/users/sudhindrasajjal/repos","events_url":"https://api.github.com/users/sudhindrasajjal/events{/privacy}","received_events_url":"https://api.github.com/users/sudhindrasajjal/received_events","type":"User","site_admin":false},"repo":{"id":90348145,"name":"beats","full_name":"sudhindrasajjal/beats","owner":{"login":"sudhindrasajjal","id":9416814,"avatar_url":"https://avatars2.githubusercontent.com/u/9416814?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhindrasajjal","html_url":"https://github.com/sudhindrasajjal","followers_url":"https://api.github.com/users/sudhindrasajjal/followers","following_url":"https://api.github.com/users/sudhindrasajjal/following{/other_user}","gists_url":"https://api.github.com/users/sudhindrasajjal/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhindrasajjal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhindrasajjal/subscriptions","organizations_url":"https://api.github.com/users/sudhindrasajjal/orgs","repos_url":"https://api.github.com/users/sudhindrasajjal/repos","events_url":"https://api.github.com/users/sudhindrasajjal/events{/privacy}","received_events_url":"https://api.github.com/users/sudhindrasajjal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sudhindrasajjal/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":true,"url":"https://api.github.com/repos/sudhindrasajjal/beats","forks_url":"https://api.github.com/repos/sudhindrasajjal/beats/forks","keys_url":"https://api.github.com/repos/sudhindrasajjal/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudhindrasajjal/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudhindrasajjal/beats/teams","hooks_url":"https://api.github.com/repos/sudhindrasajjal/beats/hooks","issue_events_url":"https://api.github.com/repos/sudhindrasajjal/beats/issues/events{/number}","events_url":"https://api.github.com/repos/sudhindrasajjal/beats/events","assignees_url":"https://api.github.com/repos/sudhindrasajjal/beats/assignees{/user}","branches_url":"https://api.github.com/repos/sudhindrasajjal/beats/branches{/branch}","tags_url":"https://api.github.com/repos/sudhindrasajjal/beats/tags","blobs_url":"https://api.github.com/repos/sudhindrasajjal/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudhindrasajjal/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudhindrasajjal/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudhindrasajjal/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudhindrasajjal/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/sudhindrasajjal/beats/languages","stargazers_url":"https://api.github.com/repos/sudhindrasajjal/beats/stargazers","contributors_url":"https://api.github.com/repos/sudhindrasajjal/beats/contributors","subscribers_url":"https://api.github.com/repos/sudhindrasajjal/beats/subscribers","subscription_url":"https://api.github.com/repos/sudhindrasajjal/beats/subscription","commits_url":"https://api.github.com/repos/sudhindrasajjal/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudhindrasajjal/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudhindrasajjal/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudhindrasajjal/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudhindrasajjal/beats/contents/{+path}","compare_url":"https://api.github.com/repos/sudhindrasajjal/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudhindrasajjal/beats/merges","archive_url":"https://api.github.com/repos/sudhindrasajjal/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudhindrasajjal/beats/downloads","issues_url":"https://api.github.com/repos/sudhindrasajjal/beats/issues{/number}","pulls_url":"https://api.github.com/repos/sudhindrasajjal/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/sudhindrasajjal/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/sudhindrasajjal/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudhindrasajjal/beats/labels{/name}","releases_url":"https://api.github.com/repos/sudhindrasajjal/beats/releases{/id}","deployments_url":"https://api.github.com/repos/sudhindrasajjal/beats/deployments","created_at":"2017-05-05T07:15:53Z","updated_at":"2018-03-19T11:05:51Z","pushed_at":"2018-03-19T11:05:49Z","git_url":"git://github.com/sudhindrasajjal/beats.git","ssh_url":"git@github.com:sudhindrasajjal/beats.git","clone_url":"https://github.com/sudhindrasajjal/beats.git","svn_url":"https://github.com/sudhindrasajjal/beats","homepage":"https://www.elastic.co/products/beats","size":57642,"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,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"06bb73b2122af5014ec1007f2a8f3e921024cef3","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2018-03-19T10:11:27Z","pushed_at":"2018-03-19T11:05:51Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":75418,"stargazers_count":5343,"watchers_count":5343,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1530,"mirror_url":null,"archived":false,"open_issues_count":728,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1530,"open_issues":728,"watchers":5343,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/4221"},"html":{"href":"https://github.com/elastic/beats/pull/4221"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/4221"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/4221/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/4221/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/4221/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/0984dc6ac9f0e8b9e41bd587c576a97f2311ae2b"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}