Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:58:48 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: What is syslog?  (Read 10865 times)
Vic
Guest
« on: April 15, 2004, 01:06:51 pm »

What is syslog?
Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 901


View Profile
« Reply #1 on: June 27, 2004, 08:55:15 pm »

syslog is a logging system that is used by most versions of unix.
Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 901


View Profile
« Reply #2 on: February 12, 2005, 08:43:36 am »

To expand, syslog is used to describe several different, but related things (as described already on the front page)

First, there is the protocol.  Syslog describes a very simple protocol of passing a data, priority, severity and description message to a syslog server.  The deep details are here: http://www.faqs.org/rfcs/rfc3164.html.  In this way, "syslog" describes the actual message.

Next, syslog describes the syslog "receiver", typically called syslogd.  Just about every version of UNIX, Linux and BSD have a version of syslogd that captures system messages and logs them to a file.  There are many different versions of syslogd, some that are really simple and just write the messages to a file, some that are really configureable, that let you send the logs into a database and everywhere in between.  One of the reasons that there are so many implementations of syslogd, is that it is so simple to create.  There is not much more required that to open a socket to listen on the network, and to capture the packets, and write them to a file.  Anything beyond that is added features.  In this way, syslog describes the application that receives syslog messages.

A pretty extensive list of syslogd alternatives is available here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-3.phtml

That's the simple part of syslog.  The more complex part comes in with what is what is logged.  Syslog messages often contain important message about the health of a computer system, such as when a hard drive fills up, when someone logs in, when an application crashs, etc.  Because of this, monitoring the messages in syslog log files is an important part of managing a system.  A lot of work has been done to automate the process of weeding out important messages from more trivial messages, and provide automatic notification of system problems through a web page, email, etc.  Aggregating the messages in syslog over time also provides a baseline for the health of a system.  Looking for deviations in what is being logged can provide a critical insight into some serious system event, such as a hardware problem or someone trying to compromise the system.
There are many tools available for analyzing syslog messages here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-4.phtml and tools for viewing syslog messages here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-5.phtml

Finally, many people have taken to getting all of their system logs, either from Windows desktops & servers, and from unix servers, into a central spot.  Windows event logs are able to be converted to syslog messages, and analyzed using the same tools that monitor traditional unix log messages.  Tools for doing that are available here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-6.phtml

I hope that this is helpful.
Logged
rainer
Guest
« Reply #3 on: February 25, 2005, 03:54:32 am »

Congrats that the forums seems to get going Wink

I have created a seminar on syslog basics some time ago. You might find it interesting:

syslog basics

Rainer
Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 901


View Profile
« Reply #4 on: February 25, 2005, 08:18:09 am »

I think many people will find that helpful.

Thank you for creating that!
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!