GitHub PullRequestReviewCommentEvent at 2014-12-17 22:23:11
Repository: logstash
Actor: suyograo
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/elasticsearch/logstash/pulls/comments/22009694","id":22009694,"diff_hunk":"@@ -0,0 +1,387 @@\n+== Adding a filter to Logstash\n+\n+This HOWTO will walk you through the process of developing a new filter plugin for Logstash. The workflow has changed as of version 1.5 of Logstash, so you'll want to follow these new and improved steps to contribute a new plugin!\n+\n+For this example, we are going to create a new filter which will replace the 'message' field in the event with the string \"Hello world!\" (or any other string of your choosing - just specify in the Logstash \"new_message\" configuration).\n+\n+=== Create a new GitHub repo\n+As of version 1.5 of Logstash, the code for each plugin lives in its own GitHub repository. So first, you'll need to create a new repo as a home for your nascent filter. When logged into GitHub, click on the \"Repositories\" tab. You may see a list of repositories you've forked and/or contributed to, or it may be blank. Either way, you're fine! Now click on the green \"New\" button near the top right of the page.\n+","path":"docs/asciidoc/static/dev-logstash-filter-plugin.asciidoc","position":9,"original_position":9,"commit_id":"cb2fff9fb46966c50da5e9027da7491c8a922fa8","original_commit_id":"cb2fff9fb46966c50da5e9027da7491c8a922fa8","user":{"login":"suyograo","id":1595958,"avatar_url":"https://avatars.githubusercontent.com/u/1595958?v=3","gravatar_id":"","url":"https://api.github.com/users/suyograo","html_url":"https://github.com/suyograo","followers_url":"https://api.github.com/users/suyograo/followers","following_url":"https://api.github.com/users/suyograo/following{/other_user}","gists_url":"https://api.github.com/users/suyograo/gists{/gist_id}","starred_url":"https://api.github.com/users/suyograo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suyograo/subscriptions","organizations_url":"https://api.github.com/users/suyograo/orgs","repos_url":"https://api.github.com/users/suyograo/repos","events_url":"https://api.github.com/users/suyograo/events{/privacy}","received_events_url":"https://api.github.com/users/suyograo/received_events","type":"User","site_admin":false},"body":"Add a section for cloning from existing dummy repo for filter","created_at":"2014-12-17T22:23:11Z","updated_at":"2014-12-17T22:23:11Z","html_url":"https://github.com/elasticsearch/logstash/pull/2259#discussion_r22009694","pull_request_url":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259","_links":{"self":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/comments/22009694"},"html":{"href":"https://github.com/elasticsearch/logstash/pull/2259#discussion_r22009694"},"pull_request":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259"}}},"pull_request":{"url":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259","id":26252539,"html_url":"https://github.com/elasticsearch/logstash/pull/2259","diff_url":"https://github.com/elasticsearch/logstash/pull/2259.diff","patch_url":"https://github.com/elasticsearch/logstash/pull/2259.patch","issue_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2259","number":2259,"state":"open","locked":false,"title":"Filter development HOWTO","user":{"login":"kurtado","id":1161427,"avatar_url":"https://avatars.githubusercontent.com/u/1161427?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtado","html_url":"https://github.com/kurtado","followers_url":"https://api.github.com/users/kurtado/followers","following_url":"https://api.github.com/users/kurtado/following{/other_user}","gists_url":"https://api.github.com/users/kurtado/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtado/subscriptions","organizations_url":"https://api.github.com/users/kurtado/orgs","repos_url":"https://api.github.com/users/kurtado/repos","events_url":"https://api.github.com/users/kurtado/events{/privacy}","received_events_url":"https://api.github.com/users/kurtado/received_events","type":"User","site_admin":false},"body":"Step-by-step guide for developers to write and deploy filters.\r\n","created_at":"2014-12-17T20:09:27Z","updated_at":"2014-12-17T22:23:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06d4ed88b34f3fa2efa693ee347993f9e08aa0cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259/commits","review_comments_url":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259/comments","review_comment_url":"https://api.github.com/repos/elasticsearch/logstash/pulls/comments/{number}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2259/comments","statuses_url":"https://api.github.com/repos/elasticsearch/logstash/statuses/cb2fff9fb46966c50da5e9027da7491c8a922fa8","head":{"label":"kurtado:doc/asciidoc/dev-filter","ref":"doc/asciidoc/dev-filter","sha":"cb2fff9fb46966c50da5e9027da7491c8a922fa8","user":{"login":"kurtado","id":1161427,"avatar_url":"https://avatars.githubusercontent.com/u/1161427?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtado","html_url":"https://github.com/kurtado","followers_url":"https://api.github.com/users/kurtado/followers","following_url":"https://api.github.com/users/kurtado/following{/other_user}","gists_url":"https://api.github.com/users/kurtado/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtado/subscriptions","organizations_url":"https://api.github.com/users/kurtado/orgs","repos_url":"https://api.github.com/users/kurtado/repos","events_url":"https://api.github.com/users/kurtado/events{/privacy}","received_events_url":"https://api.github.com/users/kurtado/received_events","type":"User","site_admin":false},"repo":{"id":14541131,"name":"logstash","full_name":"kurtado/logstash","owner":{"login":"kurtado","id":1161427,"avatar_url":"https://avatars.githubusercontent.com/u/1161427?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtado","html_url":"https://github.com/kurtado","followers_url":"https://api.github.com/users/kurtado/followers","following_url":"https://api.github.com/users/kurtado/following{/other_user}","gists_url":"https://api.github.com/users/kurtado/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtado/subscriptions","organizations_url":"https://api.github.com/users/kurtado/orgs","repos_url":"https://api.github.com/users/kurtado/repos","events_url":"https://api.github.com/users/kurtado/events{/privacy}","received_events_url":"https://api.github.com/users/kurtado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kurtado/logstash","description":"logstash - logs/event transport, processing, management, search.","fork":true,"url":"https://api.github.com/repos/kurtado/logstash","forks_url":"https://api.github.com/repos/kurtado/logstash/forks","keys_url":"https://api.github.com/repos/kurtado/logstash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kurtado/logstash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kurtado/logstash/teams","hooks_url":"https://api.github.com/repos/kurtado/logstash/hooks","issue_events_url":"https://api.github.com/repos/kurtado/logstash/issues/events{/number}","events_url":"https://api.github.com/repos/kurtado/logstash/events","assignees_url":"https://api.github.com/repos/kurtado/logstash/assignees{/user}","branches_url":"https://api.github.com/repos/kurtado/logstash/branches{/branch}","tags_url":"https://api.github.com/repos/kurtado/logstash/tags","blobs_url":"https://api.github.com/repos/kurtado/logstash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kurtado/logstash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kurtado/logstash/git/refs{/sha}","trees_url":"https://api.github.com/repos/kurtado/logstash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kurtado/logstash/statuses/{sha}","languages_url":"https://api.github.com/repos/kurtado/logstash/languages","stargazers_url":"https://api.github.com/repos/kurtado/logstash/stargazers","contributors_url":"https://api.github.com/repos/kurtado/logstash/contributors","subscribers_url":"https://api.github.com/repos/kurtado/logstash/subscribers","subscription_url":"https://api.github.com/repos/kurtado/logstash/subscription","commits_url":"https://api.github.com/repos/kurtado/logstash/commits{/sha}","git_commits_url":"https://api.github.com/repos/kurtado/logstash/git/commits{/sha}","comments_url":"https://api.github.com/repos/kurtado/logstash/comments{/number}","issue_comment_url":"https://api.github.com/repos/kurtado/logstash/issues/comments/{number}","contents_url":"https://api.github.com/repos/kurtado/logstash/contents/{+path}","compare_url":"https://api.github.com/repos/kurtado/logstash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kurtado/logstash/merges","archive_url":"https://api.github.com/repos/kurtado/logstash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kurtado/logstash/downloads","issues_url":"https://api.github.com/repos/kurtado/logstash/issues{/number}","pulls_url":"https://api.github.com/repos/kurtado/logstash/pulls{/number}","milestones_url":"https://api.github.com/repos/kurtado/logstash/milestones{/number}","notifications_url":"https://api.github.com/repos/kurtado/logstash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kurtado/logstash/labels{/name}","releases_url":"https://api.github.com/repos/kurtado/logstash/releases{/id}","created_at":"2013-11-19T23:27:50Z","updated_at":"2014-04-29T18:39:06Z","pushed_at":"2014-12-17T20:08:33Z","git_url":"git://github.com/kurtado/logstash.git","ssh_url":"git@github.com:kurtado/logstash.git","clone_url":"https://github.com/kurtado/logstash.git","svn_url":"https://github.com/kurtado/logstash","homepage":"http://logstash.net/","size":70670,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"elasticsearch:master","ref":"master","sha":"f83652aada01acbcaa5a5c6cb23df2856483eb6d","user":{"login":"elasticsearch","id":141304,"avatar_url":"https://avatars.githubusercontent.com/u/141304?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch","html_url":"https://github.com/elasticsearch","followers_url":"https://api.github.com/users/elasticsearch/followers","following_url":"https://api.github.com/users/elasticsearch/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch/orgs","repos_url":"https://api.github.com/users/elasticsearch/repos","events_url":"https://api.github.com/users/elasticsearch/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch/received_events","type":"Organization","site_admin":false},"repo":{"id":1090311,"name":"logstash","full_name":"elasticsearch/logstash","owner":{"login":"elasticsearch","id":141304,"avatar_url":"https://avatars.githubusercontent.com/u/141304?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch","html_url":"https://github.com/elasticsearch","followers_url":"https://api.github.com/users/elasticsearch/followers","following_url":"https://api.github.com/users/elasticsearch/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch/orgs","repos_url":"https://api.github.com/users/elasticsearch/repos","events_url":"https://api.github.com/users/elasticsearch/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elasticsearch/logstash","description":"logstash - logs/event transport, processing, management, search.","fork":false,"url":"https://api.github.com/repos/elasticsearch/logstash","forks_url":"https://api.github.com/repos/elasticsearch/logstash/forks","keys_url":"https://api.github.com/repos/elasticsearch/logstash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elasticsearch/logstash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elasticsearch/logstash/teams","hooks_url":"https://api.github.com/repos/elasticsearch/logstash/hooks","issue_events_url":"https://api.github.com/repos/elasticsearch/logstash/issues/events{/number}","events_url":"https://api.github.com/repos/elasticsearch/logstash/events","assignees_url":"https://api.github.com/repos/elasticsearch/logstash/assignees{/user}","branches_url":"https://api.github.com/repos/elasticsearch/logstash/branches{/branch}","tags_url":"https://api.github.com/repos/elasticsearch/logstash/tags","blobs_url":"https://api.github.com/repos/elasticsearch/logstash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elasticsearch/logstash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elasticsearch/logstash/git/refs{/sha}","trees_url":"https://api.github.com/repos/elasticsearch/logstash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elasticsearch/logstash/statuses/{sha}","languages_url":"https://api.github.com/repos/elasticsearch/logstash/languages","stargazers_url":"https://api.github.com/repos/elasticsearch/logstash/stargazers","contributors_url":"https://api.github.com/repos/elasticsearch/logstash/contributors","subscribers_url":"https://api.github.com/repos/elasticsearch/logstash/subscribers","subscription_url":"https://api.github.com/repos/elasticsearch/logstash/subscription","commits_url":"https://api.github.com/repos/elasticsearch/logstash/commits{/sha}","git_commits_url":"https://api.github.com/repos/elasticsearch/logstash/git/commits{/sha}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/comments{/number}","issue_comment_url":"https://api.github.com/repos/elasticsearch/logstash/issues/comments/{number}","contents_url":"https://api.github.com/repos/elasticsearch/logstash/contents/{+path}","compare_url":"https://api.github.com/repos/elasticsearch/logstash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elasticsearch/logstash/merges","archive_url":"https://api.github.com/repos/elasticsearch/logstash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elasticsearch/logstash/downloads","issues_url":"https://api.github.com/repos/elasticsearch/logstash/issues{/number}","pulls_url":"https://api.github.com/repos/elasticsearch/logstash/pulls{/number}","milestones_url":"https://api.github.com/repos/elasticsearch/logstash/milestones{/number}","notifications_url":"https://api.github.com/repos/elasticsearch/logstash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elasticsearch/logstash/labels{/name}","releases_url":"https://api.github.com/repos/elasticsearch/logstash/releases{/id}","created_at":"2010-11-18T01:31:50Z","updated_at":"2014-12-17T21:29:39Z","pushed_at":"2014-12-17T20:01:24Z","git_url":"git://github.com/elasticsearch/logstash.git","ssh_url":"git@github.com:elasticsearch/logstash.git","clone_url":"https://github.com/elasticsearch/logstash.git","svn_url":"https://github.com/elasticsearch/logstash","homepage":"http://logstash.net/","size":87342,"stargazers_count":3393,"watchers_count":3393,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1284,"mirror_url":null,"open_issues_count":575,"forks":1284,"open_issues":575,"watchers":3393,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259"},"html":{"href":"https://github.com/elasticsearch/logstash/pull/2259"},"issue":{"href":"https://api.github.com/repos/elasticsearch/logstash/issues/2259"},"comments":{"href":"https://api.github.com/repos/elasticsearch/logstash/issues/2259/comments"},"review_comments":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259/comments"},"review_comment":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/elasticsearch/logstash/pulls/2259/commits"},"statuses":{"href":"https://api.github.com/repos/elasticsearch/logstash/statuses/cb2fff9fb46966c50da5e9027da7491c8a922fa8"}}}}