Skip to content
Discussion options

You must be logged in to vote

There is an example of setting up external email alerting for elastalert rules in the docs at https://docs.securityonion.net/en/2.4/elastalert.html#email-external

Here is an example rule that would send an email anytime the rule.uuid 2100498 is seen. If you are creating your alert using playbook then you need to add the email portion by editing the yaml file in /opt/so/rules/elastalert/playbook/

alert:
- "email"
email:
- "[email protected]"
smtp_host: "smtp.gmail.com"
smtp_port: 465
smtp_ssl: true
from_addr: "[email protected]"
smtp_auth_file: '/opt/elastalert/rules/smtp_auth_file.txt'

- "modules.so.playbook-es.PlaybookESAlerter"

elasticsearch_host: "10.250.0.160:9200"
play_title: "Test…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@leealexanderking
Comment options

Answer selected by reyesj2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
2.4
Labels
None yet
3 participants