Skip to main content

Can a filter use a lookup table?

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