Check if field value is present at certain file


#1

Hello everybody, I have the following case to solve:

There is a list of elements that are on a file. There is an specific input from Logstash that I need to correlate with that file, by checking if a value X on a field Y matches an element on that list. If that's true, Logstash must create a new field on the entry indicating some kind of information about the matching.

I know this can be done with a filter plugin, but I don't know which one (if there are any). I do something similar with translate, but the file is just a list, not a dictionary, and it is downloaded each hour, so the idea is not to touch it.

Any help or tips? Thanks


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.