Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:root:Uncaught exception running rule log_error: tuple index out of range #5

Open
weihc02 opened this issue Apr 9, 2019 · 2 comments

Comments

@weihc02
Copy link

weihc02 commented Apr 9, 2019

ERROR:root:Traceback (most recent call last):
File "/opt/elastalert/elastalert/elastalert.py", line 1335, in alert
return self.send_alert(matches, rule, alert_time=alert_time, retried=retried)
File "/opt/elastalert/elastalert/elastalert.py", line 1424, in send_alert
alert.alert(matches)
File "elastalert_modules/wechat_qiye_alert.py", line 39, in alert
body = self.create_alert_body(matches)
File "elastalert/alerts.py", line 253, in create_alert_body
body += unicode(BasicMatchString(self.rule, match))
File "elastalert/alerts.py", line 144, in str
self._add_custom_alert_text()
File "elastalert/alerts.py", line 81, in _add_custom_alert_text
alert_text = alert_text.format(*alert_text_values)
IndexError: tuple index out of range

ERROR:root:Uncaught exception running rule log_error: tuple index out of range

@Hello-Linux
Copy link
Owner

这个问题已经修复了

@cichuliubai
Copy link

我也碰到这个报错,修复是怎么修复的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants