From a client machine running syslog-ng I want to send multiple log files to remote syslog-ng server. Is there any macro that can tell me the source file name so that on remote server I can separate out the logs and put it to separate log files.
Or if not by filename is there any other way I can separate log messages. Basically there should be 1-1 mapping. Logs of file a.log to go to x.log on remote server, b.log -> y.log