SYSLog
Syslog or Syslog Sever is an standard System Logging Protocol which works at the transport layer of the OSI model for network devices to send logging messages to a loading server. It collect all the error messages, debugged information, or any alert. It is used for managing and securing network and systems via sending an alert message based on the security level to the admin.
Syslog Server(s) mostly use 3 components for logging:
1) Syslog Listener
2) Database
3) Managing and Filtering Software
Syslog Listener:
It receives the response message which sent over the network over UDP and TCP.
Database:
It is used to store the syslog data when we wish to retrieve it quickly.
Managing and Filtering Software:
It is used to manage the large amount of data to process and filter out the important log messages.
Syslog Message Format: PRI HEADER MSG
or Priority, it indicate the security level based on the level of the message.
HEADER:
It contain the timestamp when the message was generated with host IP address.
MSG:
or MESSAGE, where it contain the process name and content of the message.
How Syslog Works:
Step 1: We install Syslog service in our server.
Step 2: Server will communicate with the application services.
Step 3: Server will listen to the tcp and udp communications between the system and the services using Syslog Listener.
Step 4: Logged these communications into it’s Database.
Step 5: Check for Message priority levels using Managing and filtering Software.
Step 6: If any security alert found, send an alert message to the admin.