Comparing the value of a field against the value of another field
My goal is to compare the value of a field against the value of another field.
For example :
Field1 value : Azerty Field2 value: Azerty.something
I would like to drop an alert if Field 1 and Field 2 share a same (partial) value (Azerty in this example)
I didn't found any existing function which could to the job in the doc. Do you know any other way to do this ?
EDIT: I think you want to write an enhancement http://elastalert.readthedocs.io/en/latest/recipes/adding_enhancements.html
It's a piece of code that will be called before any alerts, and you can decide whether or not to drop the alert.
Exactly @Qmando . Issue solved. Thanks for your support ! :-)