Syslog-ng Log centrally manage service deployment records under Linux

Source: Internet
Author: User
Tags syslog iptables

Tag: Host and priority definition establish record collection kernel www.

Syslog is the default log daemon for Linux systems, and the default syslog configuration file is the/etc/syslog.conf file. The syslog daemon is configurable, which allows people to specify exactly a place of storage for each type of system information. Compared to syslog,Syslog-ng has many advanced features: better network support, more convenient configuration, centralized network log storage, and more flexibility . For example, when using SYSLOGD, all iptables logs are stored in the Kern.log file along with other kernel logs. Syslog-ng allows you to selectively separate iptables portions into additional log files. SYSLOGD can only use the UDP protocol, SYSLOG-NG can use UDP and TCP protocols. So we can transfer logs to a centralized log server in an encrypted network tunnel.

One of the design principles of syslog-ng is to build better message filtering granularity . Syslog-ng is capable of filtering based on content and priority/facility. Another design principle is more easily to the different firewall network segment information forwarding, it supports the host chain, even if the log message after a lot of computer forwarding, can also find the original host address and the entire forwarding chain. A final design principle is to make the configuration file as powerful and concise as possible. As an alternative to syslog, Syslog-ng is a complete replacement for syslog services, and provides better filtering by defining rules. Prior to the introduction of Linux under the Rsyslog Log Collection service environment deployment record, below is a brief introduction to the following Syslog-ng log centralized Management Service deployment records:

Syslog-ng Log centrally manage service deployment records under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.