The LEM will parse any data that gets sent to it, so any filtering will have to be done on the Barracuda.
Alternatively, you can forward syslog to something like Kiwi Syslog Server, and then have Kiwi Syslog filtering logs before the LEM Agent reads them.