Created
June 30, 2016 12:28
-
-
Save alherd-by/2a13ee9627e244b0ee614265fdf8215c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source s_nginx { udp(); }; | |
#source s_nginx { file("/var/log/nginx/my-current/access.log"); }; | |
filter f_local7 { facility(local7); }; | |
destination d_loghost {tcp("10.74.0.139" port(1500));}; | |
#destination d_loghost {file("/tmp/access.log");}; | |
log { source(s_nginx); filter(f_local7); destination(d_loghost); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment