{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/elastalert/issues/826","repository_url":"https://api.github.com/repos/Yelp/elastalert","labels_url":"https://api.github.com/repos/Yelp/elastalert/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/elastalert/issues/826/comments","events_url":"https://api.github.com/repos/Yelp/elastalert/issues/826/events","html_url":"https://github.com/Yelp/elastalert/issues/826","id":191502407,"number":826,"title":"elastalert","user":{"login":"Eyad87","id":23720285,"avatar_url":"https://avatars.githubusercontent.com/u/23720285?v=3","gravatar_id":"","url":"https://api.github.com/users/Eyad87","html_url":"https://github.com/Eyad87","followers_url":"https://api.github.com/users/Eyad87/followers","following_url":"https://api.github.com/users/Eyad87/following{/other_user}","gists_url":"https://api.github.com/users/Eyad87/gists{/gist_id}","starred_url":"https://api.github.com/users/Eyad87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eyad87/subscriptions","organizations_url":"https://api.github.com/users/Eyad87/orgs","repos_url":"https://api.github.com/users/Eyad87/repos","events_url":"https://api.github.com/users/Eyad87/events{/privacy}","received_events_url":"https://api.github.com/users/Eyad87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-24T11:57:02Z","updated_at":"2016-11-27T09:36:49Z","closed_at":null,"body":"IS elastalert official version compatable with elasticsearch version 5.0"},"comment":{"url":"https://api.github.com/repos/Yelp/elastalert/issues/comments/263112200","html_url":"https://github.com/Yelp/elastalert/issues/826#issuecomment-263112200","issue_url":"https://api.github.com/repos/Yelp/elastalert/issues/826","id":263112200,"user":{"login":"Eyad87","id":23720285,"avatar_url":"https://avatars.githubusercontent.com/u/23720285?v=3","gravatar_id":"","url":"https://api.github.com/users/Eyad87","html_url":"https://github.com/Eyad87","followers_url":"https://api.github.com/users/Eyad87/followers","following_url":"https://api.github.com/users/Eyad87/following{/other_user}","gists_url":"https://api.github.com/users/Eyad87/gists{/gist_id}","starred_url":"https://api.github.com/users/Eyad87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eyad87/subscriptions","organizations_url":"https://api.github.com/users/Eyad87/orgs","repos_url":"https://api.github.com/users/Eyad87/repos","events_url":"https://api.github.com/users/Eyad87/events{/privacy}","received_events_url":"https://api.github.com/users/Eyad87/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T09:36:49Z","updated_at":"2016-11-27T09:36:49Z","body":"Hi,\r\nI made the changes in Code like what it described in #820, and made the following commands for changes (I do not know if it is necessary) \r\n$ python setup.py install\r\n$ pip install -r requirements.txt\r\n\r\nWhen i try it ($  python -m elastalert.elastalert --rule example_rules/example_frequency.yaml) I got the following error \r\n\r\n**Traceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 151, in _run_module_as_main\r\n    mod_name, loader, code, fname = _get_module_details(mod_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 113, in _get_module_details\r\n    code = loader.get_code(mod_name)\r\n  File \"/usr/lib/python2.7/pkgutil.py\", line 283, in get_code\r\n    self.code = compile(source, self.filename, 'exec')\r\n  File \"/root/elastalert/elastalert/elastalert.py\", line 125\r\n    info = self.writeback_es.info()\r\n       ^\r\nIndentationError: expected an indented block**\r\n\r\nNote that my example_frequency.yaml file is:\r\n\r\n```\r\nes_host: localhost\r\n\r\nes_port: 9200\r\n\r\nes_username: user\r\nes_password: pass\r\n\r\nname: test\r\n\r\ntype: frequency\r\n\r\nindex: logstash-*\r\n\r\nnum_events: 10\r\n\r\nhours: 7\r\n\r\nfilter: \r\nquery: []\r\n\r\nalert:\r\n- \"debug\"\r\n```\r\n\r\n\r\nany help please...\r\nThanks."}}
{"actor":{"display_login":"Eyad87"}}