-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Description
**_ERROR elastalert-server:
TestController: Failed to test rule with error: INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent.
To send them but remain verbose, use --verbose instead.
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/elastalert/elastalert/test_rule.py", line 449, in <module>
main()
File "/opt/elastalert/elastalert/test_rule.py", line 445, in main
test_instance.run_rule_test()
File "/opt/elastalert/elastalert/test_rule.py", line 413, in run_rule_test
rule_yaml = conf['rules_loader'].load_yaml(args.file)
File "/opt/elastalert/elastalert/loaders.py", line 197, in load_yaml
loaded = self.get_yaml(filename)
File "/opt/elastalert/elastalert/loaders.py", line 526, in get_yaml
return yaml_loader(filename)
File "/usr/lib/python3.6/site-packages/PyStaticConfiguration-0.10.5-py3.6.egg/staticconf/loader.py", line 168, in yaml_loader
File "/usr/lib/python3.6/site-packages/yaml/__init__.py", line 112, in load
loader = Loader(stream)
File "/usr/lib/python3.6/site-packages/yaml/loader.py", line 34, in __init__
Reader.__init__(self, stream)
File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 85, in __init__
self.determine_encoding()
File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 124, in determine_encoding
self.update_raw()
File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 178, in update_raw
data = self.stream.read(size)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 380: invalid continuation byte_**
I've this issue.... help please
Metadata
Metadata
Assignees
Labels
No labels