{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/comments/158547318","pull_request_review_id":85382934,"id":158547318,"diff_hunk":"@@ -0,0 +1,37 @@\n+<p>\n+  With this script you can filter, modify and/or group messages that are sent to the\n+  configured logstash backend. The following variables are available during execution:\n+  <ul>\n+    <li><strong>payload</strong> - JSONObject contaning the payload to be persisted.</li>\n+    <li><strong>console</strong> - a class to output messages to build log without persisting them. It also works in a sandbox: <code>console.println(\"my logged message\")</code>.</li>","path":"src/main/resources/jenkins/plugins/logstash/LogstashBuildWrapper/help-script.html","position":6,"original_position":6,"commit_id":"747a0bc63e35762675bb894825cbd7871e59e43a","original_commit_id":"747a0bc63e35762675bb894825cbd7871e59e43a","user":{"login":"jakub-bochenski","id":2794994,"avatar_url":"https://avatars1.githubusercontent.com/u/2794994?v=4","gravatar_id":"","url":"https://api.github.com/users/jakub-bochenski","html_url":"https://github.com/jakub-bochenski","followers_url":"https://api.github.com/users/jakub-bochenski/followers","following_url":"https://api.github.com/users/jakub-bochenski/following{/other_user}","gists_url":"https://api.github.com/users/jakub-bochenski/gists{/gist_id}","starred_url":"https://api.github.com/users/jakub-bochenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakub-bochenski/subscriptions","organizations_url":"https://api.github.com/users/jakub-bochenski/orgs","repos_url":"https://api.github.com/users/jakub-bochenski/repos","events_url":"https://api.github.com/users/jakub-bochenski/events{/privacy}","received_events_url":"https://api.github.com/users/jakub-bochenski/received_events","type":"User","site_admin":false},"body":"Why not bind `groovy.lang.Closure`? \r\n\r\nIf that doesn't work then lets drop it, it's only nice to have","created_at":"2017-12-22T19:30:24Z","updated_at":"2017-12-22T19:30:24Z","html_url":"https://github.com/jenkinsci/logstash-plugin/pull/40#discussion_r158547318","pull_request_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/comments/158547318"},"html":{"href":"https://github.com/jenkinsci/logstash-plugin/pull/40#discussion_r158547318"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40"}},"in_reply_to_id":158285848},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40","id":157963043,"html_url":"https://github.com/jenkinsci/logstash-plugin/pull/40","diff_url":"https://github.com/jenkinsci/logstash-plugin/pull/40.diff","patch_url":"https://github.com/jenkinsci/logstash-plugin/pull/40.patch","issue_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/40","number":40,"state":"open","locked":false,"title":"support custom log lines processing via script","user":{"login":"akostadinov","id":1408661,"avatar_url":"https://avatars3.githubusercontent.com/u/1408661?v=4","gravatar_id":"","url":"https://api.github.com/users/akostadinov","html_url":"https://github.com/akostadinov","followers_url":"https://api.github.com/users/akostadinov/followers","following_url":"https://api.github.com/users/akostadinov/following{/other_user}","gists_url":"https://api.github.com/users/akostadinov/gists{/gist_id}","starred_url":"https://api.github.com/users/akostadinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akostadinov/subscriptions","organizations_url":"https://api.github.com/users/akostadinov/orgs","repos_url":"https://api.github.com/users/akostadinov/repos","events_url":"https://api.github.com/users/akostadinov/events{/privacy}","received_events_url":"https://api.github.com/users/akostadinov/received_events","type":"User","site_admin":false},"body":"This change requires jenkinsci/script-security-plugin#169 to work.\n\nPlease see `help-script.html` for possible use cases.\n\nI needed to update parent pom version because of script-security-plugin which led to\nthe need to suppress additional warnings. Still waiting on\njenkinsci/script-security-plugin#169 to be accepted so not ready to merge. I have an\nalternative approach if the pull is not accepted, unfortunately not that performant.\n\nBut I will appreciate feedback for this PR in the meanwhile so I can fix issues.\n\nThank you.","created_at":"2017-12-12T23:05:26Z","updated_at":"2017-12-22T19:30:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d6d51905229591837e970f65ae14fa668264e50","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/40/comments","statuses_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/statuses/747a0bc63e35762675bb894825cbd7871e59e43a","head":{"label":"akostadinov:master","ref":"master","sha":"747a0bc63e35762675bb894825cbd7871e59e43a","user":{"login":"akostadinov","id":1408661,"avatar_url":"https://avatars3.githubusercontent.com/u/1408661?v=4","gravatar_id":"","url":"https://api.github.com/users/akostadinov","html_url":"https://github.com/akostadinov","followers_url":"https://api.github.com/users/akostadinov/followers","following_url":"https://api.github.com/users/akostadinov/following{/other_user}","gists_url":"https://api.github.com/users/akostadinov/gists{/gist_id}","starred_url":"https://api.github.com/users/akostadinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akostadinov/subscriptions","organizations_url":"https://api.github.com/users/akostadinov/orgs","repos_url":"https://api.github.com/users/akostadinov/repos","events_url":"https://api.github.com/users/akostadinov/events{/privacy}","received_events_url":"https://api.github.com/users/akostadinov/received_events","type":"User","site_admin":false},"repo":{"id":105991587,"name":"logstash-plugin","full_name":"akostadinov/logstash-plugin","owner":{"login":"akostadinov","id":1408661,"avatar_url":"https://avatars3.githubusercontent.com/u/1408661?v=4","gravatar_id":"","url":"https://api.github.com/users/akostadinov","html_url":"https://github.com/akostadinov","followers_url":"https://api.github.com/users/akostadinov/followers","following_url":"https://api.github.com/users/akostadinov/following{/other_user}","gists_url":"https://api.github.com/users/akostadinov/gists{/gist_id}","starred_url":"https://api.github.com/users/akostadinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akostadinov/subscriptions","organizations_url":"https://api.github.com/users/akostadinov/orgs","repos_url":"https://api.github.com/users/akostadinov/repos","events_url":"https://api.github.com/users/akostadinov/events{/privacy}","received_events_url":"https://api.github.com/users/akostadinov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akostadinov/logstash-plugin","description":"Jenkins plugin to ship the console log off to Logstash","fork":true,"url":"https://api.github.com/repos/akostadinov/logstash-plugin","forks_url":"https://api.github.com/repos/akostadinov/logstash-plugin/forks","keys_url":"https://api.github.com/repos/akostadinov/logstash-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akostadinov/logstash-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akostadinov/logstash-plugin/teams","hooks_url":"https://api.github.com/repos/akostadinov/logstash-plugin/hooks","issue_events_url":"https://api.github.com/repos/akostadinov/logstash-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/akostadinov/logstash-plugin/events","assignees_url":"https://api.github.com/repos/akostadinov/logstash-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/akostadinov/logstash-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/akostadinov/logstash-plugin/tags","blobs_url":"https://api.github.com/repos/akostadinov/logstash-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akostadinov/logstash-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akostadinov/logstash-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/akostadinov/logstash-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akostadinov/logstash-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/akostadinov/logstash-plugin/languages","stargazers_url":"https://api.github.com/repos/akostadinov/logstash-plugin/stargazers","contributors_url":"https://api.github.com/repos/akostadinov/logstash-plugin/contributors","subscribers_url":"https://api.github.com/repos/akostadinov/logstash-plugin/subscribers","subscription_url":"https://api.github.com/repos/akostadinov/logstash-plugin/subscription","commits_url":"https://api.github.com/repos/akostadinov/logstash-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/akostadinov/logstash-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/akostadinov/logstash-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/akostadinov/logstash-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/akostadinov/logstash-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/akostadinov/logstash-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akostadinov/logstash-plugin/merges","archive_url":"https://api.github.com/repos/akostadinov/logstash-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akostadinov/logstash-plugin/downloads","issues_url":"https://api.github.com/repos/akostadinov/logstash-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/akostadinov/logstash-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/akostadinov/logstash-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/akostadinov/logstash-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akostadinov/logstash-plugin/labels{/name}","releases_url":"https://api.github.com/repos/akostadinov/logstash-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/akostadinov/logstash-plugin/deployments","created_at":"2017-10-06T10:15:26Z","updated_at":"2017-10-06T10:15:28Z","pushed_at":"2017-12-21T13:04:59Z","git_url":"git://github.com/akostadinov/logstash-plugin.git","ssh_url":"git@github.com:akostadinov/logstash-plugin.git","clone_url":"https://github.com/akostadinov/logstash-plugin.git","svn_url":"https://github.com/akostadinov/logstash-plugin","homepage":null,"size":231,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"db3b9d4c3297bde401a55a692f0f08663448ee67","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":7866898,"name":"logstash-plugin","full_name":"jenkinsci/logstash-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/logstash-plugin","description":"Jenkins plugin to ship the console log off to Logstash","fork":true,"url":"https://api.github.com/repos/jenkinsci/logstash-plugin","forks_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/logstash-plugin/deployments","created_at":"2013-01-28T09:38:33Z","updated_at":"2017-12-21T04:00:39Z","pushed_at":"2017-12-22T19:20:40Z","git_url":"git://github.com/jenkinsci/logstash-plugin.git","ssh_url":"git@github.com:jenkinsci/logstash-plugin.git","clone_url":"https://github.com/jenkinsci/logstash-plugin.git","svn_url":"https://github.com/jenkinsci/logstash-plugin","homepage":null,"size":208,"stargazers_count":37,"watchers_count":37,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":54,"open_issues":10,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40"},"html":{"href":"https://github.com/jenkinsci/logstash-plugin/pull/40"},"issue":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/40"},"comments":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/logstash-plugin/statuses/747a0bc63e35762675bb894825cbd7871e59e43a"}},"author_association":"NONE"}}
{"actor":{"display_login":"jakub-bochenski"}}