Short answer:
filter.preLineProcessor.classNames.0=se.sitic.megatron.filter.RegExpLineFilter
filter.regExpLineFilter.excludeRegExp=DISCONNECT
Long answer: You have three options:
1. RegExpLineFilter: Filter lines using a reg-exp. One example is a Shadowserver config [1] where we filter out lines contaning "spam" or "dnschanger". Another example is [2], where lines ending with "logfile turned over" are filtered out. Search for RegExpLineFilter in the "job-type" directory for more examples.
2. AttributeFilter: Filter log records using the parsed attribute and a reg-exp. Is more precise than a RegExpLineFilter because it's operates on one single attribute and not the whole line. See [3] for a good example.
3. OsCommandProcessor: Use the grep-approach but call grep from Megatron. See [4] for an example with sed.
/Tor