Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:46:39 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: [1]
  Print  
Author Topic: Syslog logging question  (Read 763 times)
remy06
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: January 17, 2010, 01:11:30 pm »

Hi all,

Currently Im having a syslog server that consolidate firewall logs on port 514 udp.

Im also having a IDS device that I wish to push its logs to this particular syslog server so that I can retrieve my IDS logs on this server as well.

Is it possible to do so?Having syslog listening on port 514 for both firewall and IDS logs?

If it is possible will the logs be recorded in a single log file?Or will it be recorded in a separate log file ie. firewall.log, IDS.log etc??

I wish to have them in separate individual log files or else there will be hard time segregating the log entries in a single file.

Can anyone advice on how to achieve this??

Thanks in advance.
Logged
remy06
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #1 on: January 20, 2010, 08:52:09 am »

noone knows??
Logged
Admin
Administrator
Newbie
*****
Online Online

Posts: 146


View Profile WWW
« Reply #2 on: January 20, 2010, 10:41:49 am »

Yes, this can be done. 

You can do it one of two ways...  Using the standard syslog that comes with most operating systems, you would need to set the facility used to send the syslog messages to something different between the IDS and firewall systems.  Then, you can filter the facility in syslog.conf to send the IDS logs to one file and the firewall logs to another file.

Alternatively, if you are using rsyslog or syslog-ng, this is much easier, and you can filter to different files based on the source IP address.
Logged
remy06
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #3 on: January 21, 2010, 07:12:41 am »

Ic thanks for the info.

will try setting the facility to use local0-local7 for the firewall and ids logs then.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!