I have a number of hosts sending logs to
rsyslog
server, and I'd like to distinguish them by adding their IP, i.e. /var/log/10.10.10.1-messages.log, /var/log/10.10.10.2-messages.log and so on. At the moment all messages land in the same log file.
Is it even possible to do so?
I know there exist syslog template files, is this what I should be looking at? I would appreciate some helpful examples, since documentation is quite confusing me.
Asked by Mark
(1943 rep)
Oct 3, 2022, 02:43 PM
Last activity: Nov 24, 2022, 07:59 AM
Last activity: Nov 24, 2022, 07:59 AM