Playbook alerts not following custom filters #12825
Replies: 2 comments 2 replies
-
Hi DrOnionMaster, are you already try to run so-elastialert-test to see one output more verbose about when this rule run? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Please try the new Detections interface in 2.4.70: |
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.
-
Hey all,
I am running into an issue where the custom filters I build in the playbook are not working correctly. Here's an example:
I am trying to get rid of alerts for machine accounts that end with $
The filter looks like this:
sofilter:
event_data.user.name:
- *$
*The second line is once indented and the third is twice indented
As far as I understand this follows YAML formatting and should work.
I can confirm that after I put this filter into the custom filters and submit it, the filter shows up in the ElastAlert Config:
any where ( not ((event_data.user.name : "*$" ...
I checked the file in /opt/so/rules/elastalert/playbook/ and it also appears to be correct:
filter:
- eql: >
any where ( not ((event_data.user.name : "*$" ...
I've run
sudo so-playbook-sync
even though I know the file already looks correct.But I am still continuing to get alerts for events where the
event_data.user.name
ends with$
Thanks for any help in advance.
Beta Was this translation helpful? Give feedback.
All reactions