Skip to content

Data|contains|all versus '|all': ? #84

Closed Answered by thomaspatzke
YamatoSecurity asked this question in Q&A
Discussion options

You must be logged in to vote

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 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.

The same thing also happens with Data|contains:
...
Are these the same meaning as well?

Yes, both are contains searches, the one explicitl…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@nasbench
Comment options

@nasbench
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nasbench
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
Q&A
Labels
None yet
3 participants