[syslog-ng] Syslog-ng newbie.

Jason Long hack3rcon at yahoo.com
Sat Dec 29 12:32:47 UTC 2018


Hello.I want to send Nginx log via syslog-ng to a server that Elasticsearch and Kibana installed on it. I'm a beginner and searched in Google but can't find a good tutorial. I want to know on Nginx server with syslog-ng installed is below config enough?
options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);          owner("root"); group("adm"); perm(0640); stats_freq(0);          bad_hostname("^gconfd$");};source s_myfile {
    file("/var/log/nginx/access.log" follow_freq(1) flags(no-parse));};log { source(s_myfile); };

I'm thankful if anyone share advice.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20181229/8d119a35/attachment.html>


More information about the syslog-ng mailing list