• rsyslog 客户端配置


     [root@jxglapp1 pfwx-master]# cat /etc/rsyslog.conf ModLoad imuxsock # provides support for local system logging (e.g. via logger command) $ModLoad imklog   # provides kernel logging support (previously done by rklogd) module(load="imfile" PollingInterval="5") $ModLoad imtcp $InputTCPServerRun 514 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $IncludeConfig /etc/rsyslog.d/*.conf *.info;mail.none;authpriv.none;cron.none;local5.none                /var/log/messages authpriv.*                                              /var/log/secure mail.*                                                  -/var/log/maillog cron.*                                                  /var/log/cron uucp,news.crit                                          /var/log/spooler local7.*                                                /var/log/boot.log $InputFilePersistStateInterval 1 $WorkDirectory /var/lib/rsyslog input(type="imfile" File="/root/pfwx-master/nohup.out" Tag="Fortress-10.3.172.15" PersistStateInterval="1" reopenOnTruncate="on" Severity="info" Facility="local5") local5.* @@10.5.100.232:9514
  • 相关阅读:
    Win10 UWP程序内的文件格式
    第一章
    英语
    BOM
    html基础
    协程
    python
    列表 元组 range
    我的Python学习笔记(四):动态添加属性和方法
    我的Python学习笔记(三):私有变量
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349539.html
Copyright © 2020-2023  润新知