{"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/elastalert/pulls/comments/150059114","pull_request_review_id":75553461,"id":150059114,"diff_hunk":"@@ -296,20 +296,30 @@ class StompAlerter(Alerter):\n     \"\"\" The stomp alerter publishes alerts via stomp to a broker. \"\"\"\n     required_options = frozenset(['stomp_hostname', 'stomp_hostport', 'stomp_login', 'stomp_password'])\n \n-    def alert(self, matches):\n+    def check_if_match_exists(mes,matchkey):","path":"elastalert/alerts.py","position":5,"original_position":5,"commit_id":"0186f7c44298184db1c59902708c0fdfa6895623","original_commit_id":"0186f7c44298184db1c59902708c0fdfa6895623","user":{"login":"snuids","id":13175107,"avatar_url":"https://avatars1.githubusercontent.com/u/13175107?v=4","gravatar_id":"","url":"https://api.github.com/users/snuids","html_url":"https://github.com/snuids","followers_url":"https://api.github.com/users/snuids/followers","following_url":"https://api.github.com/users/snuids/following{/other_user}","gists_url":"https://api.github.com/users/snuids/gists{/gist_id}","starred_url":"https://api.github.com/users/snuids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snuids/subscriptions","organizations_url":"https://api.github.com/users/snuids/orgs","repos_url":"https://api.github.com/users/snuids/repos","events_url":"https://api.github.com/users/snuids/events{/privacy}","received_events_url":"https://api.github.com/users/snuids/received_events","type":"User","site_admin":false},"body":"Right, I will update my code to use util.lookup_es_key. Thx for the hint.","created_at":"2017-11-09T19:13:37Z","updated_at":"2017-11-09T19:13:37Z","html_url":"https://github.com/Yelp/elastalert/pull/1417#discussion_r150059114","pull_request_url":"https://api.github.com/repos/Yelp/elastalert/pulls/1417","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/comments/150059114"},"html":{"href":"https://github.com/Yelp/elastalert/pull/1417#discussion_r150059114"},"pull_request":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/1417"}},"in_reply_to_id":150057874},"pull_request":{"url":"https://api.github.com/repos/Yelp/elastalert/pulls/1417","id":151735062,"html_url":"https://github.com/Yelp/elastalert/pull/1417","diff_url":"https://github.com/Yelp/elastalert/pull/1417.diff","patch_url":"https://github.com/Yelp/elastalert/pull/1417.patch","issue_url":"https://api.github.com/repos/Yelp/elastalert/issues/1417","number":1417,"state":"open","locked":false,"title":"Stomp alert Update","user":{"login":"snuids","id":13175107,"avatar_url":"https://avatars1.githubusercontent.com/u/13175107?v=4","gravatar_id":"","url":"https://api.github.com/users/snuids","html_url":"https://github.com/snuids","followers_url":"https://api.github.com/users/snuids/followers","following_url":"https://api.github.com/users/snuids/following{/other_user}","gists_url":"https://api.github.com/users/snuids/gists{/gist_id}","starred_url":"https://api.github.com/users/snuids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snuids/subscriptions","organizations_url":"https://api.github.com/users/snuids/orgs","repos_url":"https://api.github.com/users/snuids/repos","events_url":"https://api.github.com/users/snuids/events{/privacy}","received_events_url":"https://api.github.com/users/snuids/received_events","type":"User","site_admin":false},"body":"Stomp alerting code changed in order to correctly display the query_key matches when the query key is complex. (The query_key is a sub property of a property such as: alert.type)","created_at":"2017-11-09T19:00:37Z","updated_at":"2017-11-09T19:13:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d73112abfec4afb8100b29aeca0e425a706c64f9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/elastalert/pulls/1417/commits","review_comments_url":"https://api.github.com/repos/Yelp/elastalert/pulls/1417/comments","review_comment_url":"https://api.github.com/repos/Yelp/elastalert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/elastalert/issues/1417/comments","statuses_url":"https://api.github.com/repos/Yelp/elastalert/statuses/0186f7c44298184db1c59902708c0fdfa6895623","head":{"label":"snuids:master","ref":"master","sha":"0186f7c44298184db1c59902708c0fdfa6895623","user":{"login":"snuids","id":13175107,"avatar_url":"https://avatars1.githubusercontent.com/u/13175107?v=4","gravatar_id":"","url":"https://api.github.com/users/snuids","html_url":"https://github.com/snuids","followers_url":"https://api.github.com/users/snuids/followers","following_url":"https://api.github.com/users/snuids/following{/other_user}","gists_url":"https://api.github.com/users/snuids/gists{/gist_id}","starred_url":"https://api.github.com/users/snuids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snuids/subscriptions","organizations_url":"https://api.github.com/users/snuids/orgs","repos_url":"https://api.github.com/users/snuids/repos","events_url":"https://api.github.com/users/snuids/events{/privacy}","received_events_url":"https://api.github.com/users/snuids/received_events","type":"User","site_admin":false},"repo":{"id":110154070,"name":"elastalert","full_name":"snuids/elastalert","owner":{"login":"snuids","id":13175107,"avatar_url":"https://avatars1.githubusercontent.com/u/13175107?v=4","gravatar_id":"","url":"https://api.github.com/users/snuids","html_url":"https://github.com/snuids","followers_url":"https://api.github.com/users/snuids/followers","following_url":"https://api.github.com/users/snuids/following{/other_user}","gists_url":"https://api.github.com/users/snuids/gists{/gist_id}","starred_url":"https://api.github.com/users/snuids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snuids/subscriptions","organizations_url":"https://api.github.com/users/snuids/orgs","repos_url":"https://api.github.com/users/snuids/repos","events_url":"https://api.github.com/users/snuids/events{/privacy}","received_events_url":"https://api.github.com/users/snuids/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/snuids/elastalert","description":"Easy & Flexible Alerting With ElasticSearch","fork":true,"url":"https://api.github.com/repos/snuids/elastalert","forks_url":"https://api.github.com/repos/snuids/elastalert/forks","keys_url":"https://api.github.com/repos/snuids/elastalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snuids/elastalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snuids/elastalert/teams","hooks_url":"https://api.github.com/repos/snuids/elastalert/hooks","issue_events_url":"https://api.github.com/repos/snuids/elastalert/issues/events{/number}","events_url":"https://api.github.com/repos/snuids/elastalert/events","assignees_url":"https://api.github.com/repos/snuids/elastalert/assignees{/user}","branches_url":"https://api.github.com/repos/snuids/elastalert/branches{/branch}","tags_url":"https://api.github.com/repos/snuids/elastalert/tags","blobs_url":"https://api.github.com/repos/snuids/elastalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snuids/elastalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snuids/elastalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/snuids/elastalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snuids/elastalert/statuses/{sha}","languages_url":"https://api.github.com/repos/snuids/elastalert/languages","stargazers_url":"https://api.github.com/repos/snuids/elastalert/stargazers","contributors_url":"https://api.github.com/repos/snuids/elastalert/contributors","subscribers_url":"https://api.github.com/repos/snuids/elastalert/subscribers","subscription_url":"https://api.github.com/repos/snuids/elastalert/subscription","commits_url":"https://api.github.com/repos/snuids/elastalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/snuids/elastalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/snuids/elastalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/snuids/elastalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/snuids/elastalert/contents/{+path}","compare_url":"https://api.github.com/repos/snuids/elastalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snuids/elastalert/merges","archive_url":"https://api.github.com/repos/snuids/elastalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snuids/elastalert/downloads","issues_url":"https://api.github.com/repos/snuids/elastalert/issues{/number}","pulls_url":"https://api.github.com/repos/snuids/elastalert/pulls{/number}","milestones_url":"https://api.github.com/repos/snuids/elastalert/milestones{/number}","notifications_url":"https://api.github.com/repos/snuids/elastalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snuids/elastalert/labels{/name}","releases_url":"https://api.github.com/repos/snuids/elastalert/releases{/id}","deployments_url":"https://api.github.com/repos/snuids/elastalert/deployments","created_at":"2017-11-09T18:54:28Z","updated_at":"2017-11-09T18:54:30Z","pushed_at":"2017-11-09T18:58:22Z","git_url":"git://github.com/snuids/elastalert.git","ssh_url":"git@github.com:snuids/elastalert.git","clone_url":"https://github.com/snuids/elastalert.git","svn_url":"https://github.com/snuids/elastalert","homepage":"https://elastalert.readthedocs.org","size":2320,"stargazers_count":0,"watchers_count":0,"language":"Python","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Yelp:master","ref":"master","sha":"a892597130cbb239cf25f9d52072df2aab88adb5","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":27091760,"name":"elastalert","full_name":"Yelp/elastalert","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/elastalert","description":"Easy & Flexible Alerting With ElasticSearch","fork":false,"url":"https://api.github.com/repos/Yelp/elastalert","forks_url":"https://api.github.com/repos/Yelp/elastalert/forks","keys_url":"https://api.github.com/repos/Yelp/elastalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/elastalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/elastalert/teams","hooks_url":"https://api.github.com/repos/Yelp/elastalert/hooks","issue_events_url":"https://api.github.com/repos/Yelp/elastalert/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/elastalert/events","assignees_url":"https://api.github.com/repos/Yelp/elastalert/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/elastalert/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/elastalert/tags","blobs_url":"https://api.github.com/repos/Yelp/elastalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/elastalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/elastalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/elastalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/elastalert/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/elastalert/languages","stargazers_url":"https://api.github.com/repos/Yelp/elastalert/stargazers","contributors_url":"https://api.github.com/repos/Yelp/elastalert/contributors","subscribers_url":"https://api.github.com/repos/Yelp/elastalert/subscribers","subscription_url":"https://api.github.com/repos/Yelp/elastalert/subscription","commits_url":"https://api.github.com/repos/Yelp/elastalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/elastalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/elastalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/elastalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/elastalert/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/elastalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/elastalert/merges","archive_url":"https://api.github.com/repos/Yelp/elastalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/elastalert/downloads","issues_url":"https://api.github.com/repos/Yelp/elastalert/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/elastalert/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/elastalert/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/elastalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/elastalert/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/elastalert/releases{/id}","deployments_url":"https://api.github.com/repos/Yelp/elastalert/deployments","created_at":"2014-11-24T19:39:19Z","updated_at":"2017-11-09T15:26:07Z","pushed_at":"2017-11-09T19:00:38Z","git_url":"git://github.com/Yelp/elastalert.git","ssh_url":"git@github.com:Yelp/elastalert.git","clone_url":"https://github.com/Yelp/elastalert.git","svn_url":"https://github.com/Yelp/elastalert","homepage":"https://elastalert.readthedocs.org","size":2320,"stargazers_count":3701,"watchers_count":3701,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":738,"mirror_url":null,"archived":false,"open_issues_count":448,"forks":738,"open_issues":448,"watchers":3701,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/1417"},"html":{"href":"https://github.com/Yelp/elastalert/pull/1417"},"issue":{"href":"https://api.github.com/repos/Yelp/elastalert/issues/1417"},"comments":{"href":"https://api.github.com/repos/Yelp/elastalert/issues/1417/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/1417/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/1417/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/elastalert/statuses/0186f7c44298184db1c59902708c0fdfa6895623"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"snuids"}}