25.8. Filtering Messages
Message filtering is a process where only some of the received messages are kept. Filtering is possible using regular expressions or other operators using any of the fields.
Example 92. Using drop() to Discard Unmatching Messages
In this example, any line that matches neither of the two regular expressions will be discarded with the drop() procedure. Only lines that match at least one of the regular expressions will be kept.