Can a filter use a lookup table?
Shane Daniels
Posts: 28 mod
in Stream
Can a filter use a lookup table?
0
Best Answer
-
Yes.
Cribl Expressions | Cribl Docs
Native Cribl Stream function methods, found under C.*
Example:
C.Lookup(‘filename.csv, ‘host).match(host)
0
Answers
-
Yes.
Cribl Expressions | Cribl Docs
Native Cribl Stream function methods, found under C.*
Example:
C.Lookup(‘filename.csv, ‘host).match(host)
0 -
Example, this will return true if the file has "value_to_lookup" in the column "key_column":
C.Lookup('lookupfile.csv','key_column').match('value_to_lookup')
0