Can a filter use a lookup table?
Page 1 / 1
Yes.
Cribl Expressions | Cribl Docs
Native Cribl Stream function methods, found under C.*
Example: C.Lookup(‘filename.csv, ‘host).match(host)
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')
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.