2014-11-19 17:24 GMT+01:00 Paps Diop <[email protected]>: > Hello, > > Thank you for your reactivity. > > I saw that but i did not explain well. The fact is i want that rsyslog > server log in file1 message coming from server1, rsyslog server log in > file1.log message coming from server2 and rsyslog server log in file3.log > message coming from server3 and by using the dynamic template %hostname% or > %source% it is not possible. > > ah, ok. Is it possible to use different receiver ports for each of the clients? That would be the simples way to achive your desired result...
Rainer > Regards, > > Pape. > > Cordialement, > > Pape DIOP. > > On Wed, Nov 19, 2014 at 5:06 PM, Rainer Gerhards <[email protected] > > > wrote: > > > 2014-11-19 16:56 GMT+01:00 Paps Diop <[email protected]>: > > > > > Hi, > > > > > > I wanted to know if it is possible to sort a my incoming rsyslog by > > source > > > in order to log in different ifle (rsyslog server log in file1 message > > > coming from server1, rsyslog server log in file2.log message coming > from > > > server2, etc...) > > > > > > > > This can be done with the dynafile feature. Please let me know if this > > links helps: > > > > http://www.rsyslog.com/article60/ > > > > If not, I'll see that I finally create some better documentation > tomorrow. > > > > Rainer > > > > > Regards, > > > > > > Pape. > > > _______________________________________________ > > > rsyslog mailing list > > > http://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 > > http://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 > http://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 http://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.

