syslog导入mysql_[RedHat] 有什么简单的办法把syslog日志写入mysql中?

现.在/var/log下有ns.log和win.log二个日志文件内容如下,.多谢(        游戏          )

Aug 13 13:32:19 192.168.1.2 NtServicePa.ck: 437.7: S.ERVER01\mw: 安装了 Windows Server 2003 修补程序 KB952954。.

ug 13 13:32:20 192.168.1.2 Cannot format ev.ent ID 19: 找不.到映像文件中指定的资源类型。.

Au.g 13 13:32:20 .192.168.1.2 Windows Upd.ate Agent: 19: (Facility: 0, Status: Success).

Aug 1.3 13:32:20 192.168.1.7 Security: 538: SERVER02\mw: 用户注销: 用户名: mw 域.: SERVER02 登录 I.D: (0x0,0xBEA2E99) 登录类型: 3            建材

A.ug 13. 13:32:22 192.168.1..7 Security: 680: SERVE.R02\mw: 尝试登录的用户: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 登录帐户: mw 源工作站: SERVER01 错误代码: 0x0 .

Aug 13 .13:32:28 192.168.1..7 Security: 538: SERVER02\mw: 用户注销: 用户名: mw 域: SERVER02. 登录 ID: (0x0,0xBEA55EC) 登录类型: 3 --- 印刷

Aug 13 13:32:29 192.16.8.1.7 .Security: 680: SERVER02\mw: 尝试登录.的用户: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 登录帐户: mw. 源工作站: SERVER01 错误代码: 0x0 电影

ug 13 13:32:32 192.168.1.2 Cannot. fo.rmat event ID 19: 找不到映像文件中指定的资源类型。电脑

Au.g 13 13:32:32 192.168.1.2 Windows Upd.ate Agent: 19: (.Facility: 0, Status: Success)--- 印刷

Aug 13 .13:32:35 192.168.1.7 Security: 5.38: SERVER02\mw: 用户注销: 用户名: mw 域: SERVER02 登录 ID: (0x0,0xBEA6B64) 登录类型.: 3 (        游戏          )

Aug 13 13:33:35 192.168.1.1 ns25: Net.Screen device_id=0096072007000125  [Root]syst.em-n.otification-00257(traf.fi.c): start_time="2008-08-13 13:36:44" duration=0 policy_id=14 service=https proto=6. src zone=Trust dst zone=Untrust action=Permit sent=0 rcvd=0 src=192.168.1.98 dst=124.161.68.195 src_port=2537 dst_port=443 src-xlated ip=192.168.16.3 port=9558 ds.t-xlated ip=124.161.68.195 port=443 .session._id=30791 reason=Creation          婚庆

Aug 13 13:33:35 192.168.1.1 ns25: NetScreen device_id=0096072007000125 . [Root]system-notification-00.257(traffic).: start_time="2008-08-13 13:36:44" duration=0 policy_id=9 service=http proto=6 src zone=Trust dst zone=Untrust action=Permi.t sent=0 rcvd=0 src=192.168.1.131 ds.t=219.232.237.15 src_por.t=2158 dst_port=80 src-xlated ip=19.2.168.16.3 port=27414 dst-xlated ip=219.232.237.15 po..rt=80 session_id=30265 reason=Creation--- 印刷

Aug 13 13:33:35 192.168.1..1 ns25: NetScreen device_id=00960720.0.7000125  [Root]system-notification-00257(traffic): start_time="2008-08-13 13:36:.44" duration=0 policy_id=14 service=ht.tps proto=6. src zone=Trust dst zone=Untrust act.ion=Permit sent=0 rcvd=0 src=192.168.1.85 dst=123.185.134.222 src_port=3262 dst_port=44.3 src-xlated .ip=192.168.16.3 port=3377 dst-xlated ip=123.185.134.222 port=443 session_id=30369 reason=Creation    健康

Aug 13 13:33:36 192.168.1.1 ns25: NetScreen device_id=009.6072007000125  [Root]system-not.ification-00257(traffic): start_time="2008-08-13 13:36:44" duration=0 policy_id=14 service.=https proto=6 src zone=Trust dst zone=Untrust acti.on=Permit sent..=0 rcvd=0 src=192.168.1.74 dst=58.51.151.221 src_port=2383 .dst_port=443 src-xlated ip=192.168.16.3 port=2039 dst-xl.ated ip=58.51.151.221 port=443 ses.sion_id=30526 reason=Creation    美容

Aug 13 13:.33:36 192.168.1.1 ns25: NetScreen device_id=0096072007000125  [Root]system-notification-00257(traffic): start_time="2008-08-.13 13:36:45" .duration=0 policy_id=14 service=https proto=6 src zone=Trust dst zone=Untrust action=Permit sent=0 rcvd=0 src=19.2.168.1.85 dst=60.15.211.185 src_port=3263 dst_port=443 src-xlat.ed ip=192.168.16.3 port=8570 dst-xlated ip=6.0.15.211.185 p..ort=443 session_id=3.0465 reason=Creation    健康

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值