As a system O & M engineer, I think it is a daily task to view and analyze LINUX system logs. However, after a long time, I find that every time I view the site logs, I have to go to the background one by one, several servers can do this, but if you
Manual configurationIf you are unable to generate a configuration file from a script, this guide will help you to complete the configuration manually by simply copying and pasting.Assuming that you already have root or sudo permissions, the 5.8.0 or
Experimental requirements
Build a visual log collection and analysis platform for centralized collection of logs, and through the visualization of log analysis tools to present;
Apps server is to collect the log nodes, can have
Document directory
Split local and remote logging
Split local and remote logging for three different ports
Fewer Filters
Partitioning of input data
Future enhancements
Multiple rulesets in rsyslog
Starting with version 4.5.0 and 5.1.1,
Rsyslog. conf configuration file
This document is currently being enhanced. Please pardon its current appearance.
Rsyslogd is configured via the rsyslog. conf file, Typically found in/etc. By default, rsyslogd reads the file/etc/rsyslog. conf. This
Write shell script execution to Rsyslog Log Server
In the O & M work, it is inevitable to write some scripts for scheduled tasks (cron) to regularly execute some daily work to automate the O & M work. For example, backing up data in my daily work is
# A commented quick reference and sample configuration # warning: this is not a manual, the full manual of rsyslog configuration is in # rsyslog. conf (5) manpage # "$" starts lines that contain new directives. the full list of directives # can be
It is easy to define the system default log collection.But how to configure the custom logs written by programmers in the company project, it is possible to use the local and filter filters these things ...Let's go slowly.Collect the URL to spare,
netconsole is a kernel module that sends all kernel log messages (I.E.DMESG) over the network to another computer,without involving user space (E.G.SYSLOGD). name "Netconsole" is a misnomer because its not really a " Console ",
Log type
Log device/Type
Description
Auth
Logs generated by Pam
Authpriv
Verification information for login information such as Ssh,ftp
Cron
Time Task related
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.