Data|contains|all
versus '|all':
?
#84
-
Some rules use
However, some rules use
Is there a difference in the meaning or just two ways to write the same rule? (If so, should rules be re-written to follow a uniform syntax?) The same thing also happens with
and rules that don't specify a field:
Are these the same meaning as well? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I am guessing that |
Beta Was this translation helpful? Give feedback.
-
The first search is bound to a ield while the second is unbound (also called keyword rule) syntax and means that the whole log event is searched for appearance of all strings. For keyword the contains modifier is implicitly assumed because it mostly doesn't makes sense to match a complete event because they usually contain dynamic information like time, hostnames etc. This reflects also how most SIEMs behave.
Yes, both are contains searches, the one explicitly bound to a field the other implicitly and unbound. |
Beta Was this translation helpful? Give feedback.
-
@nasbench @thomaspatzke Thank you both the explanations. All is clear now. |
Beta Was this translation helpful? Give feedback.
The first search is bound to a ield while the second is unbound (also called keyword rule) syntax and means that the whole log event is searched for appearance of all strings. For keyword the contains modifier is implicitly assumed because it mostly doesn't makes sense to match a complete event because they usually contain dynamic information like time, hostnames etc. This reflects also how most SIEMs behave.
Yes, both are contains searches, the one explicitl…