Proxmox Debian rsyslog远程日志客户端配置
1 检查是否安装rsyslog
root@pve1:~# apt list |grep rsyslog
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
puppet-module-saz-rsyslog/stable 2.2.1-2 all
rsyslog-czmq/stable 8.2302.0-1 amd64
rsyslog-doc/stable 8.2302.0+dfsg-1 all
rsyslog-elasticsearch/stable 8.2302.0-1 amd64
rsyslog-gnutls/stable 8.2302.0-1 amd64
rsyslog-gssapi/stable 8.2302.0-1 amd64
rsyslog-hiredis/stable 8.2302.0-1 amd64
rsyslog-kafka/stable 8.2302.0-1 amd64
rsyslog-kubernetes/stable 8.2302.0-1 amd64
rsyslog-mongodb/stable 8.2302.0-1 amd64
rsyslog-mysql/stable 8.2302.0-1 amd64
rsyslog-openssl/stable 8.2302.0-1 amd64
rsyslog-pgsql/stable 8.2302.0-1 amd64
rsyslog-relp/stable 8.2302.0-1 amd64
rsyslog-snmp/stable 8.2302.0-1 amd64
rsyslog/stable,now 8.2302.0-1 amd64 [installed]
2 Proxmox配置
root@pve1:~# cat /etc/rsyslog.d/remote-logging.conf
#
*.* @192.168.163.1:514
3 Debian配置
root@Debian:~# cat /etc/rsyslog.conf
//******
//最后一行添加
*.* @192.168.163.1:514
# 注释:
@:UDP
@@:TCP
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。