[root@testdb log]# cd /var/log
[root@testdb log]# ll
908
-rw------- 1 root root 1718 412 09:51 127.0.0.1.log
-rw------- 1 root root 272 412 09:43 192.168.0.65.log
-rw------- 1 root root 3754 412 09:51 66_history_bash
-rw-------. 1 root root 2368 109 16:55 anaconda.ifcfg.log
-rw-------. 1 root root 29331 109 16:55 anaconda.log
[root@testdb log]# tail -f 192.168.0.65.log
Apr 13 17:41:13 localhost -bash: HISTORY: PPID=2166 PID=2168 SID=2168 UID=0 User=root 192.168
Apr 13 17:42:40 localhost -bash: HISTORY: PPID=2166 PID=2168 SID=2168 UID=0 User=root sss
Apr 13 17:43:38 localhost -bash: HISTORY: PPID=2166 PID=2168 SID=2168 UID=0 User=root s
Apr 13 17:52:27 localhost -bash: HISTORY: PPID=2166 PID=2168 SID=2168 UID=0 User=root ifconfig
Apr 13 17:52:27 localhost -bash: HISTORY: PPID=2166 PID=2168 SID=2168 UID=0 User=root w
--------------------------------------分割线 --------------------------------------
CentOS 6.3下利用Rsyslog+LogAnalyzer+MySQL部署日志服务器
使用rsyslog mysql 和logAnalyzer 的日志服务器
RHEL5.4部署中央日志服务器之rsyslog+loganalyzer
--------------------------------------分割线 --------------------------------------