Traceback (most recent call last):


 "/home/george/projetos/.virtualenvs/scout/local/lib/python2.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received

strategy = strategies[type_]
KeyError: 'Address Matching'

Traceback (most recent call last):


 "/opt/persist/venv-py3_elk/lib/python3.7/pdb.py", line 1699, in main

pdb._runscript(mainpyfile)


 "/opt/persist/venv-py3_elk/lib/python3.7/pdb.py", line 1568, in _runscript

self.run(statement)


 "/opt/persist/venv-py3_elk/lib/python3.7/bdb.py", line 585, in run

exec(cmd, globals, locals)


 "<string>", line 1, in <module>


 "/opt/persist/venv-py3_elk/bin/elastalert-test-rule", line 3, in <module>

__requires__ = 'elastalert==0.2.1'


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/test_rule.py", line 445, in main


test_instance.run_rule_test()


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/test_rule.py", line 437, in run_rule_test


self.run_elastalert(rule_yaml, conf, args)


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/test_rule.py", line 318, in run_elastalert


client.run_rule(rule, endtime, starttime)


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/elastalert.py", line 888, in run_rule


if not self.run_query(rule, rule['starttime'], tmp_endtime):


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/elastalert.py", line 649, in run_query


rule_inst.add_aggregation_data(data)


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/ruletypes.py", line 1005, in add_aggregation_data


self.unwrap_term_buckets(timestamp, payload_data['bucket_aggs']['buckets'])


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/ruletypes.py", line 1019, in unwrap_term_buckets


self.check_matches(timestamp, term_data['key'], term_data)


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/ruletypes.py", line 1058, in check_matches


self.check_matches_recursive(timestamp, query_key, aggregation_data, self.rules['compound_query_key'], dict())


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/ruletypes.py", line 1081, in check_matches_recursive


match_data)


 "/opt/persist/venv-py3_elk/lib/python3.7/site-packages/elastalert-0.2.1-py3.7.egg/elastalert/ruletypes.py", line 1084, in check_matches_recursive


metric_val = aggregation_data[self.metric_key]['value']
KeyError: 'metric_blocks_used_max'
