VictoriaLogs: Adding syslog-ng to a host and ingesting nginx log from jails 0 ▲ Dan Langille's Other Diary 162 days ago · Tech · hide · Fediverse post This post is more self-documentation than anything else. The links in this post might be useful than the content. Today I’ll start pulling production FreshPorts nginx logs into VictoriaLogs. Over the past few days, I’ve configured a proof-of-concept and now I’m ready to try this in prod. In this post: FreeBSD 15.0 (installed on the host aws-1) nginx-1.30.2_2,3 (running in a jail, aws-1-nginx01, on the host aws-1) syslog-ng-4.11.0_2 (running on the host aws-1, pulling logs from the jail) For the initial syslog-ng install and config, I’m following my blog post Replacing syslogd with syslog-ng (sysutils/syslog-ng) on FreeBSD. That work is not shown here. Connection This proves the host can connect to the VictoriaLogs host: [11:41 aws-1 dvl ~] % nc -zv logs.int.unixathome.org 9428 Connection to logs.int.unixathome.org 9428 port [tcp/*] succeeded! Next, let’s try a curl POST. curl --cacert /etc/ssl/cert.pem -i -X POST "https://logs.int.unixathome.org:9428/insert/jsonline" \ -H… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town