cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1013
Views
0
Helpful
2
Replies

Different server, different syslog facility?

poirot1967
Level 1
Level 1

The unix team is starting to build a new centralized log server.  They want to change all the Cisco logs to use local6.  Thats ok, BUT, there is another group that I also send logs to that use the standard local7 on their log server.  So, is there a way I can send logs using local6 to x.x.x.x,  and use local7 for y.y.y.y, or is it an all or nothing situation?

Thanks

Poirot

1 Accepted Solution

Accepted Solutions

rmeans
Level 3
Level 3

Have you considered using syslog-ng?  You will not be limited by facility.  Within the syslog-ng.conf file you can define which logs go where.  For example, I have a number of firewalls, routers and switches.  I log my firewalls to separate files, all routers to one file and all switches to one file.  The syslog-ng.conf file looks at the source IP address or domain name and determines where to put the log (the file name).

View solution in original post

2 Replies 2

rmeans
Level 3
Level 3

Have you considered using syslog-ng?  You will not be limited by facility.  Within the syslog-ng.conf file you can define which logs go where.  For example, I have a number of firewalls, routers and switches.  I log my firewalls to separate files, all routers to one file and all switches to one file.  The syslog-ng.conf file looks at the source IP address or domain name and determines where to put the log (the file name).

Thanks for the answer.  Thats exactly what we will be doing.

Poirot

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: