Ruby filter - compare a field against a mongodb and if exists the value add a new field


In my filebeat I'm adding a field called token, then I want to create a filter to check if the token value exists in my mongodb, if not then drop the entry and if so then mutate the token value to something else. Is it possible, do I have to use another plugin or what is the best option?.


Ricardo P

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