rsyslog
http://www.rsyslog.com/
http://www.rsyslog.com/doc/v5-stable/troubleshooting/troubleshoot.html
RSYSLOG is the rocket-fast system for log processing.
It offers high-performance, great security features and a modular design.
它提供高性能,极大的安全特性和模块化设计。
While it started as a regular syslogd, rsyslog has evolved into a kind of swiss army knife of logging, being able to accept inputs from a wide variety of sources, transform them, and output to the results to diverse destinations.
当作为一个普通syslogd启动时,rsyslog进化为日志界的瑞士军刀的一种,能接受多种源的输入,传输他们,输出结果到不同的目的地
RSYSLOG can deliver over one million messages per second to local destinations when limited processing is applied (based on v7, December 2013).
rsyslog每秒能转发百万条消息到本地目的地,当处理受限被应用时。
Even with remote destinations and more elaborate processing the performance is usually considered "stunning".
单词:elaborate:adj. 精心制作的;详尽的;煞费苦心的
单词:stunning:adj.出色的
甚至远程目的地和更详尽的处理时,性能通常被认为是出色的。
http://www.adiscon.com/common/en/glossary/rfc3195.php
RFC 3195 is a relatively new IETF standard. It specifies how syslog messages can reliably be transmitted via a TCP connection. RFC 3195 optionally allows for message encryption and authentication of sender and reciver.
RFC 3195是最新的IETF标准。它指出syslog消息如何能可靠地经由一个TCP连接被传送。RFC 3195可选允许消息加密与发送者和接收者的认证。
Adiscon's MonitorWare line of products implement the core RFC 3195 protocol (actually, Adiscon was the first one to do this on the Windows platform).
adiscon的monitorware产品线实现了RFC 3195协议的核心(事实上,adiscon也是第一个在win平台上做这件事的人)。
Under UNIX, rsyslog and SDSC syslog are known to support RFC 3195. Our liblogging project enables your own applications to "talk" 3195.
在UNIX下,大家知道rsyslog和SDSC syslog支持RFC 3195。我们的liblogging项目可以使你自己的应用对话3195。
The formal specification for RFC 3195 can be found in the IETF RFC repository.
在IETF RFC的库中可以找到RFC3195的正式规范。
During its creation, RFC 3195 was known as "syslog-reliable". Many people still use this name to refer to it.
在它创建期间,
Further information on RFC 3195 and currently available implementations can be found at http://www.syslog.cc/ietf/rfcs/3195.html.
There is also a mailing list available for implementors and users of RFC 3195.
RSyslog - History
Rsyslog was initiated by Rainer Gerhards. If you are interested to learn why Rainer initiated the project, you may want to read his blog posting on “why the world needs another syslogd”.
rsyslog由rainer gerhards发起。如果你对rainer为何发起这个项目感兴趣,你可能想要阅读他的关于“世界为什么需要另一个syslogd”的blog。
The name “rsyslog” stems back to the planned support for syslog-reliable. Ironically, the initial release of rsyslog did NEITHER support syslog-reliable NOR tcp based syslog.
名字rsyslog可以追溯到可靠的syslog支持计划。讽刺的是,rsyslog的初始版本既不支持可靠的syslog,也不支持基于syslog的tcp。
Instead, it contained enhanced configurability and other enhancements (like database support).
替代的,它包含了加强配置和其它改进(像数据库支持)。
The reason for this is that full support for RFC 3195 would require even more changes and especially fundamental architectural changes.
这点的理由是RFC3195的完全支持可能需要更多的变化和特别是基础结构的更改。
Also, questions asked on the loganalysis list and at other places indicated that RFC3195 is NOT a prime priority for users, but rather better control over the output format.
同样,在日志分析列表的问题回答和由RFC3195指示的其它地方对用户来说不是一个基本优先级,但可以对输出格式更好的控制。
So there we were, with a rsyslogd that covers a lot of enhancements, but not a single one of these that made its name ;)
Since version 0.9.2, receiving syslog messages via plain tcp is finally supported, a bit later sending via TCP, too.
从版本0.9.2开始,经由普通tcp接收syslog 消息最终被支持,晚一点经tcp发送也支持。
Starting with 1.11.0, RFC 3195 is finally supported at the receiving side (a.k.a. “listener”).
从1.11.0开始,RFC3195在接收边被最终支持(又名监听器)。
Support for sending via RFC 3195 is still due. Anyhow, rsyslog has come much closer to what it name promises.
经由RFC3195的发送依然不支持。总之,rsyslog已经更接近于它初始的预期。
The database support was initially included so that our web-based syslog interface could be used.
数据库支持一开始就包括以便我们基于web的syslog接口能被使用。
This is another open source project which can be found under http://www.phplogcon.org. We highly recommend having a look at it.
这是另一个开源项目能在以下网址找到。我们高度推荐看一看。
It might not work for you if you expect thousands of messages per second (because your database won’t be able to provide adequate performance), but in many cases it is a very handy analysis and troubleshooting tool.
假如你希望每秒上千的消息(因为你的数据库不能提供充足的性能),它可能不会工作,但在大多数情况下它是一个非常方便的分析和排障工具。
In the mean time, of course, lots of people have found many applications for writing to databases, so the prime focus is no longer on phpLogcon.
在平均时间里,当然,大多数人可能找到写数据库的很多应用,因此焦点不再是phplogcon。
Rsyslogd supports an enhanced syslog.conf file format, and also works with the standard syslog.conf.
rsyslogd支持一个加强的syslog.conf文件格式,同样也能工作在标准syslog.conf下。
In theory, it should be possible to simply replace the syslogd binary with the one that comes with rsyslog.
原则上,它应该能用rsyslog来简单替换syslogd二进制。
Of course, in order to use any of the new features, you must re-write your syslog.conf. To learn how to do this, please review our commented sample.conf file.
当然,为了使用任何一个新的特性,你必须重写你的syslog.conf。学习如何去做,请查看我们推荐的sample.conf文件。
It outlines the enhancements over stock syslogd. Discussion has often arisen of whether having an “old syslogd” logfile format is good or evil.
它在老的syslogd基础之上概括了增强。讨论经常升级为老的syslogd日志文件格式是好的或坏的。
So far, this has not been solved (but Rainer likes the idea of a new format), so we need to live with it for the time being.
距今为止,这不能被解决(但Rainer喜欢新格式),因此我们需要时间来考验。
It is planned to be reconsidered in the 3.x release time frame.
在3.x发行时间里,计划重新考虑。
rsyslog的更多相关文章
- 集中日志服务器Rsyslog
http://www.gaizaoren.org/archives/408 基于主机的管理一般需要收集服务器的日志信息用于及时发现错误,处理故障. 搭建linux下的集中日志服务器的程序一般可以用sy ...
- 手工配置rsyslog配置文件详解
手工配置 如果您无法通过脚本生成配置文件,这份指导将帮助您通过简单的复制.粘贴手动完成配置. 假定您已拥有root或sudo权限,是在通用的Linux平台使用5.8.0或更高版本的rsyslog,rs ...
- rsyslog配置报错解决
配置过程中,查看/var/log/meassage 有报错信息: action '*' treated as ':omusrmsg:*' - please use ':omusrmsg:*' synt ...
- CentOS 6.7下利用Rsyslog+LogAnalyzer+MySQL部署日志服务器
一.简介 LogAnalyzer 是一款syslog日志和其他网络事件数据的Web前端.它提供了对日志的简单浏览.搜索.基本分析和一些图表报告的功能.数据可以从数据库或一般的syslog文本文件中获取 ...
- django+nginx+xshell简易日志查询,接上<关于《rsyslog+mysql+loganalyzer搭建日志服务器<个人笔记>》的反思>
纠正一下之前在<关于<rsyslog+mysql+loganalyzer搭建日志服务器<个人笔记>>的反思>中说到的PHP+MySQL太慢,这里只是说我技术不好,没 ...
- 关于《rsyslog+mysql+loganalyzer搭建日志服务器<个人笔记>》的反思
关于<rsyslog+mysql+loganalyzer搭建日志服务器<个人笔记>>的反思--链接--http://www.cnblogs.com/drgcaosheng/p/ ...
- CentOS 6.5下利用Rsyslog+LogAnalyzer+MySQL部署日志服务器
一.简介 LogAnalyzer 是一款syslog日志和其他网络事件数据的Web前端.它提供了对日志的简单浏览.搜索.基本分析和一些图表报告的功能.数据可以从数据库或一般的syslog文本文件中获取 ...
- Rsyslog配置文件详解
Rsyslog配置文件详解https://my.oschina.net/0757/blog/198329 # Save boot messages also to boot.log 启动的相关信息lo ...
- Linux 日志服务器 rsyslog
预先需要httpd.php.mysql,yum方式安装.创建数据库: yum install rsyslog rsyslog-mysql cd /usr/share/doc/rsyslog-mysql ...
- rsyslog+mysql+loganalyzer搭建日志服务器<个人笔记>
大概思路如下: 使用Linux自带的rsyslog服务来做底层,然后再使用mysql与rsyslog的模板来存储文件,并且以web来进行显示出来.<模板的存储以日期的树形结构来存储,并且以服务器 ...
随机推荐
- HDU 1080
http://acm.hdu.edu.cn/showproblem.php?pid=1080 二维最长公共子序列 #include <iostream> #include <cstd ...
- 【转】互联网全站HTTPS的时代已经到来
原文地址:http://blog.csdn.net/luocn99/article/details/39777707 前言 我目前正在从事HTTPS方面的性能优化工作.在HTTPS项目的开展过程中明显 ...
- Linux VPS下SSH常用命令
目录操作:rm -rf mydir /*删除mydir目录,不需要确认,直接删除*/mkdir dirname /*创建名为dirname的目录*/cd mydir /*进入mydir目录*/cd - ...
- html文字垂直居中
比如一个div 需设置height的高度和line-height一样. <div style="height:30px;line-height:30px;"> OK. ...
- 2.0.4 CCLabelTTF在ios7下不显示的问题
要修改框架lib目录里的 CCImage.mm,就是把浮点值取了个整,之前的浮点形导致绘制失败: 在_initWithString这个方法里把如下代码替换一下就行了: //////////////// ...
- Intellij IDEA 创建Web项目并在Tomcat中部署运行
一.创建Web项目 1.File -> New Module,进入创建项目窗口 2.选择Java类型,在 Module name 处输入项目名,点击Next 3.勾选 Web Applica ...
- 完全搞懂傅里叶变换和小波(2)——三个中值定理<转载>
书接上文,本文章是该系列的第二篇,按照总纲中给出的框架,本节介绍三个中值定理,包括它们的证明及几何意义.这三个中值定理是高等数学中非常基础的部分,如果读者对于高数的内容已经非常了解,大可跳过此部分.当 ...
- 319. Bulb Switche
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every ...
- Java基础类型与其二进制表示
Java中的基础类型有:byte.short.int.long.float.double.char和boolean. 它们可被分为四种类型,整型.浮点型.char型和boolean型. 整型:byte ...
- C专家编程学习 1
1.C语言的基本数据类型直接与底层硬件相对应. 2#define 是可能出现问题 1 2 3 4 5 #define a(y) a_ex(y) a(x)被扩展为 a_ex(x) #define a ...