https://www.rsyslog.com/doc/v8-stable/concepts/multi_ruleset.html

Use the modern syntax in the samples.

Rainer

Jens Bürger via rsyslog <[email protected]> schrieb am Fr., 11.
Sept. 2020, 21:49:

> Dear all,
>
> I have a Debian 9 machine and want to receive and store logs from an
> external hardware devices (SIP-ISDN gateways for instance). The gateway
> type supports remote logging via syslog.
>
> I have checked and tried a number of tutorials, but none of them made my
> fully happy. What I want to achieve is:
>
> Keep the local logging and files untouched
> Write the remote logs in distinct directories
> But, whatever I tried so far, I had remote logging messages also in
> /var/log/syslog or the local logs were written to
> /var/log/%THE_LOCAL_HOSTNAME%/ ...
>
> So, apparently, my rsyslog configs so far did not correctly distinguish
> between local and remote.
>
> Consider the following tutorial:
>
> https://www.tecmint.com/install-rsyslog-centralized-logging-in-centos-ubuntu/
>
> If I use that configuration, the problem is that the logs of the local
> machine are also written into a directory meant for the remote logs.
>
> Any hints?
>
> Regards,
> Jens
> _______________________________________________
> rsyslog mailing list
> https://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to