A working example to use rsyslog as log centralized host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

Somebody can helps me with rsyslog configuration to use it as a log centralized server?? I am trying several configs without luck, and all examples that I found are related to v3 and nothing about v2 that ships with CentOS or RHEL.

 I am trying to do something like this:

 $template DynFile,"/var/log/rsyslog/%HOSTNAME%/secure"
 if $source != 'localhost' and $syslogfacility-text == 'authpriv' then -?DynFile

 But this is for version 3 ... and doesn't works ... Any help??


--
CL Martinez
carlopmart {at} gmail {d0t} com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux