[syslog-ng](OT) routers and host matching

graham@dynamic.org.uk graham@dynamic.org.uk
Tue, 27 Feb 2001 21:56:21 +0000 (GMT)


hi,

well if they're cisco's then:
logging source-interface Loopback0
or which ever other interface you wish to use.

Thanks,
Graham

On Tue, 27 Feb 2001, Brian E. Seppanen wrote:

> Hi:
> 
> Sort of off topic, but someone here might be more familiar with this
> situation.
> 
> I monitor several routers with syslog-ng on a central host.  One problem
> I'm facing is that I want to redirect logs dependent upon the router to
> different files.  This works well, but I have one problem.  We do not use
> DNS to resolve names, and we match upon host IP's.  The problem is that
> the routers have several possible IP's and I'm finding that more and
> more often that I don't have a filter defined for certain IP's.  My
> syslog-ng config is already a god awful mess and I'm hoping that I'm being
> short sighted and that there is a solution to my quandry.  Is it possible
> to have the router log via one interface and therefore guarantee a host IP
> match?
> 
> Has anyone found a way to work around this?  I'd really appreciate any
> insight.
> thanks,
> 
> 
> Brian Seppanen
> Charter Communications
> Regional Data Center				906-228-4226 ext 23
> Marquette, MI					seppy@chartermi.net
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
>