I am getting the below-mentioned exception while running the rule. After this exception the rule becomes disabled. My requirement is either to ignore the exception and not disable the rule or fix the issue and not get this exception altogether.
From where can I increase the maximum message size
ERROR:elastalert:Traceback (most recent call last): File "C:\ELK\NEW E_ALERT2\elastalert2\elastalert\elastalert.py", line 1298, in alert return self.send_alert(matches, rule, alert_time=alert_time, retried=retried) File "C:\ELK\NEW E_ALERT2\elastalert2\elastalert\elastalert.py", line 1375, in send_alert alert.alert(matches) File "C:\ELK\NEW E_ALERT2\elastalert2\elastalert\alerters\email.py", line 115, in alert self.smtp.sendmail(self.from_addr, to_addr, email_msg.as_string()) File "C:\Program Files\Python36\lib\smtplib.py", line 867, in sendmail raise SMTPSenderRefused(code, resp, from_addr) smtplib.SMTPSenderRefused: (552, b'Message size exceeds maximum permitted', 'devtest@abc.com')