{"action":"opened","number":177,"pull_request":{"url":"https://api.github.com/repos/Yelp/elastalert/pulls/177","id":39796753,"html_url":"https://github.com/Yelp/elastalert/pull/177","diff_url":"https://github.com/Yelp/elastalert/pull/177.diff","patch_url":"https://github.com/Yelp/elastalert/pull/177.patch","issue_url":"https://api.github.com/repos/Yelp/elastalert/issues/177","number":177,"state":"open","locked":false,"title":"Initialized last_command member of CommandAlerter class","user":{"login":"IngaFeick","id":9050786,"avatar_url":"https://avatars.githubusercontent.com/u/9050786?v=3","gravatar_id":"","url":"https://api.github.com/users/IngaFeick","html_url":"https://github.com/IngaFeick","followers_url":"https://api.github.com/users/IngaFeick/followers","following_url":"https://api.github.com/users/IngaFeick/following{/other_user}","gists_url":"https://api.github.com/users/IngaFeick/gists{/gist_id}","starred_url":"https://api.github.com/users/IngaFeick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngaFeick/subscriptions","organizations_url":"https://api.github.com/users/IngaFeick/orgs","repos_url":"https://api.github.com/users/IngaFeick/repos","events_url":"https://api.github.com/users/IngaFeick/events{/privacy}","received_events_url":"https://api.github.com/users/IngaFeick/received_events","type":"User","site_admin":false},"body":"Fix for\r\n\r\n    ERROR:root:Uncaught exception running rule xyz: 'CommandAlerter' object has no attribute 'last_command'\r\n\r\nHappens especially when running in --verbose mode.","created_at":"2015-07-13T10:13:54Z","updated_at":"2015-07-13T10:13:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/elastalert/pulls/177/commits","review_comments_url":"https://api.github.com/repos/Yelp/elastalert/pulls/177/comments","review_comment_url":"https://api.github.com/repos/Yelp/elastalert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/elastalert/issues/177/comments","statuses_url":"https://api.github.com/repos/Yelp/elastalert/statuses/50fa3b46c0a9f8049357c5527474db54c8b48a50","head":{"label":"IngaFeick:master","ref":"master","sha":"50fa3b46c0a9f8049357c5527474db54c8b48a50","user":{"login":"IngaFeick","id":9050786,"avatar_url":"https://avatars.githubusercontent.com/u/9050786?v=3","gravatar_id":"","url":"https://api.github.com/users/IngaFeick","html_url":"https://github.com/IngaFeick","followers_url":"https://api.github.com/users/IngaFeick/followers","following_url":"https://api.github.com/users/IngaFeick/following{/other_user}","gists_url":"https://api.github.com/users/IngaFeick/gists{/gist_id}","starred_url":"https://api.github.com/users/IngaFeick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngaFeick/subscriptions","organizations_url":"https://api.github.com/users/IngaFeick/orgs","repos_url":"https://api.github.com/users/IngaFeick/repos","events_url":"https://api.github.com/users/IngaFeick/events{/privacy}","received_events_url":"https://api.github.com/users/IngaFeick/received_events","type":"User","site_admin":false},"repo":{"id":39001576,"name":"elastalert","full_name":"IngaFeick/elastalert","owner":{"login":"IngaFeick","id":9050786,"avatar_url":"https://avatars.githubusercontent.com/u/9050786?v=3","gravatar_id":"","url":"https://api.github.com/users/IngaFeick","html_url":"https://github.com/IngaFeick","followers_url":"https://api.github.com/users/IngaFeick/followers","following_url":"https://api.github.com/users/IngaFeick/following{/other_user}","gists_url":"https://api.github.com/users/IngaFeick/gists{/gist_id}","starred_url":"https://api.github.com/users/IngaFeick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngaFeick/subscriptions","organizations_url":"https://api.github.com/users/IngaFeick/orgs","repos_url":"https://api.github.com/users/IngaFeick/repos","events_url":"https://api.github.com/users/IngaFeick/events{/privacy}","received_events_url":"https://api.github.com/users/IngaFeick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IngaFeick/elastalert","description":"Easy & Flexible Alerting With ElasticSearch","fork":true,"url":"https://api.github.com/repos/IngaFeick/elastalert","forks_url":"https://api.github.com/repos/IngaFeick/elastalert/forks","keys_url":"https://api.github.com/repos/IngaFeick/elastalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IngaFeick/elastalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IngaFeick/elastalert/teams","hooks_url":"https://api.github.com/repos/IngaFeick/elastalert/hooks","issue_events_url":"https://api.github.com/repos/IngaFeick/elastalert/issues/events{/number}","events_url":"https://api.github.com/repos/IngaFeick/elastalert/events","assignees_url":"https://api.github.com/repos/IngaFeick/elastalert/assignees{/user}","branches_url":"https://api.github.com/repos/IngaFeick/elastalert/branches{/branch}","tags_url":"https://api.github.com/repos/IngaFeick/elastalert/tags","blobs_url":"https://api.github.com/repos/IngaFeick/elastalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IngaFeick/elastalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IngaFeick/elastalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/IngaFeick/elastalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IngaFeick/elastalert/statuses/{sha}","languages_url":"https://api.github.com/repos/IngaFeick/elastalert/languages","stargazers_url":"https://api.github.com/repos/IngaFeick/elastalert/stargazers","contributors_url":"https://api.github.com/repos/IngaFeick/elastalert/contributors","subscribers_url":"https://api.github.com/repos/IngaFeick/elastalert/subscribers","subscription_url":"https://api.github.com/repos/IngaFeick/elastalert/subscription","commits_url":"https://api.github.com/repos/IngaFeick/elastalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/IngaFeick/elastalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/IngaFeick/elastalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/IngaFeick/elastalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/IngaFeick/elastalert/contents/{+path}","compare_url":"https://api.github.com/repos/IngaFeick/elastalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IngaFeick/elastalert/merges","archive_url":"https://api.github.com/repos/IngaFeick/elastalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IngaFeick/elastalert/downloads","issues_url":"https://api.github.com/repos/IngaFeick/elastalert/issues{/number}","pulls_url":"https://api.github.com/repos/IngaFeick/elastalert/pulls{/number}","milestones_url":"https://api.github.com/repos/IngaFeick/elastalert/milestones{/number}","notifications_url":"https://api.github.com/repos/IngaFeick/elastalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IngaFeick/elastalert/labels{/name}","releases_url":"https://api.github.com/repos/IngaFeick/elastalert/releases{/id}","created_at":"2015-07-13T08:54:32Z","updated_at":"2015-07-13T08:54:32Z","pushed_at":"2015-07-13T09:52:45Z","git_url":"git://github.com/IngaFeick/elastalert.git","ssh_url":"git@github.com:IngaFeick/elastalert.git","clone_url":"https://github.com/IngaFeick/elastalert.git","svn_url":"https://github.com/IngaFeick/elastalert","homepage":"https://elastalert.readthedocs.org","size":1628,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"Yelp:master","ref":"master","sha":"e74eea9e6f70ca8114bdb8656aa0d7c65705c42b","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","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://avatars.githubusercontent.com/u/49071?v=3","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}","created_at":"2014-11-24T19:39:19Z","updated_at":"2015-07-12T15:56:39Z","pushed_at":"2015-07-10T17:57:55Z","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":1628,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":41,"forks":41,"open_issues":41,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/177"},"html":{"href":"https://github.com/Yelp/elastalert/pull/177"},"issue":{"href":"https://api.github.com/repos/Yelp/elastalert/issues/177"},"comments":{"href":"https://api.github.com/repos/Yelp/elastalert/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/elastalert/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/elastalert/statuses/50fa3b46c0a9f8049357c5527474db54c8b48a50"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}