Difference between revisions of "Linux Syslog"

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
Line 5: Line 5:
== Requirements ==
== Requirements ==


* Operating system: Ubuntu 18.04 bionic amd64
A syslog server accepts syslog messages and processes, those messages based on a set of configurable rules.
* Packages: git emacs


In order to complete these steps, you must have followed [[Some Other Documentation]] before.
Traditionally the syslogd daemon filled this role but many Linux distributions now ship with alternatives such as:
 
* rsyslog
* syslog-ng (ng stands for next-generation)


== Description ==
== Description ==

Revision as of 03:07, 3 January 2022

Summary

Linux uses the syslog standard for message logging, this allows programms and applications to generate messages that can be captured, processed and stored by the system logger. It eliminates the need for each and every application having to come up with and implement a logging mechanism on their own and also means that logging can be configured and controlled in a centralized location.

Requirements

A syslog server accepts syslog messages and processes, those messages based on a set of configurable rules.

Traditionally the syslogd daemon filled this role but many Linux distributions now ship with alternatives such as:

  • rsyslog
  • syslog-ng (ng stands for next-generation)

Description

Step 1

Enter these commands in the shell

echo foo
echo bar

Step 2

Make sure to read

  • War and Peace
  • Lord of the Rings
  • The Baroque Cycle

Used Hardware

Device to be used with this documentation Maybe another device to be used with this documentation

Courses

References