Elastalert to email #9832
Replies: 2 comments 3 replies
-
What does your config look like? Additional documentation is here https://elastalert2.readthedocs.io/en/latest/ruletypes.html#email |
Beta Was this translation helpful? Give feedback.
3 replies
-
You could try something like below:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My end goal is to have any alerts (that would show up as event.severity_label high) to be sent to email.
From what I understand (and read) I should follow https://docs.securityonion.net/en/2.3/elastalert.html#email-internal.
I generated a file called /opt/so/rules/elastalert/smtp.yaml. I pasted the example from the link above in, just replacing the appropriate fields, then saved the file.
sudo so-elastalert-restart then failed to restart elastalert. sudo so-status showed [ERROR].sudo
tail -f /opt/so/log/elastalert/elastalert.log showed the error like this:
"elastalert Error connecting to SMTP host: [Errno 99] Cannot assign requested address"
I verified the hostname of our mail server and verified that I could ping it and it resolved to the correct IP.
Any ideas? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions