I need to add filter in my syslogs. I know how to do in rsyslogs. But we need to add same logs in syslogs as well in legacy systems.Is there any way to do it?
Corresponding rsyslog entries are:
:msg, contains, "ABC" /var/log/abc.log
:programname, isequal, "sudo" /var/log/sudo.log