{"action":"closed","issue":{"url":"https://api.github.com/repos/Yelp/elastalert/issues/650","repository_url":"https://api.github.com/repos/Yelp/elastalert","labels_url":"https://api.github.com/repos/Yelp/elastalert/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/elastalert/issues/650/comments","events_url":"https://api.github.com/repos/Yelp/elastalert/issues/650/events","html_url":"https://github.com/Yelp/elastalert/issues/650","id":167427252,"number":650,"title":"Example Rule Test Fails","user":{"login":"txappmkr","id":16249012,"avatar_url":"https://avatars.githubusercontent.com/u/16249012?v=3","gravatar_id":"","url":"https://api.github.com/users/txappmkr","html_url":"https://github.com/txappmkr","followers_url":"https://api.github.com/users/txappmkr/followers","following_url":"https://api.github.com/users/txappmkr/following{/other_user}","gists_url":"https://api.github.com/users/txappmkr/gists{/gist_id}","starred_url":"https://api.github.com/users/txappmkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txappmkr/subscriptions","organizations_url":"https://api.github.com/users/txappmkr/orgs","repos_url":"https://api.github.com/users/txappmkr/repos","events_url":"https://api.github.com/users/txappmkr/events{/privacy}","received_events_url":"https://api.github.com/users/txappmkr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T17:58:13Z","updated_at":"2016-07-26T03:53:45Z","closed_at":"2016-07-26T03:53:45Z","body":"Error when running the tests.\r\nCreating a cardinal rule , if something is less than 100 in last 4 hours, alert me by email.\r\n\r\nelastalert.util.EAException: Invalid Rule: cardinality_test_rule\r\nNone is not of type 'array', 'object'\r\n\r\nCreating a new cardinal rule with .Yaml define as below\r\n`es_host: eshost.local.com\r\nes_port: 9200\r\nindex: index_v3\r\nname: \"cardinality_test_rule\"\r\ntype: cardinality\r\ncardinality_field: \"uniqueid\"\r\nmin_cardinality: 100\r\ntimeframe:\r\n  hours: 4\r\nfilter:\r\n-and:\r\n - term:\r\n   isvisit: [1]\r\n - term:\r\n   isenabled: [1]\r\n - term:\r\n   istemp: [1]\r\n - term:\r\n   isnew: [\"Y\"]\r\n - wildcard:\r\n   field: \"*query*\"\r\nalert:\r\n- \"email\"\r\nemail:\r\n- \"test.test@test.com\"`\r\n\r\n"}}
{"actor":{"display_login":"txappmkr"}}