瘋狂帽客's Blog
You are already naked. There is no reason not to follow your heart. ~ Steve Jobs ~
Tuesday, August 25, 2015
如何讓rsyslog 也支援TCP?
預設rsyslog只支援UDP with port 514,如果要支援TCP,可以載入TCP的模組即可使用。
$ModLoad imudp.so
$UDPServerRun 514
$ModLoad imtcp.so
$InputTCPServerRun 514
記得修改完畢後restart rsyslog。
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment