elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Use regex for blacklist and whitelist rules

Open gpoire opened this issue 8 years ago • 2 comments

Is it possible to use regex with blacklist and whitelist rules ? I want to use this kind of alert for matching specific command on router but the command could be with uppercase or lowercase.

gpoire avatar Dec 12 '17 09:12 gpoire

If you want regular expressions, you need to implement it in a filter. See comment on #1419. Using Elasticsearch filtering will also do lower/uppercase normalization for you automatically. I'd advise using this rather than whitelist/blacklist.

Qmando avatar Dec 12 '17 19:12 Qmando

Ok thanks I will watch for this

gpoire avatar Dec 13 '17 08:12 gpoire