Getting Nginx logs into Victoria-Logs 0 ▲ Dan Langille's Other Diary 162 days ago · Tech · hide · Fediverse post My goal today: get nginx logs into Victoria-Logs. I’ve already gotten Victoria-Logs running on FreeBSD and replaced syslog with syslog-ng to get TLS Also, the Adding an nginx proxy in front of Victoria-Labs post might be helpful before proceeding here. Over the past 48 hours or so, I’ve managed to get Nginx logs flowing from an Nginx host on dev.freshports.org into Victoria-Logs via syslog-ng. Why syslog-ng? It can do TLS. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 (running on logs.int.unixathome.org) nginx-1.30.2_2,3 (running on dev.freshports.org) syslog-ng-4.11.0_2 (also running on that host) First test: can it POST? My first test, which I should have done ages ago, not this afternoon. This is curl posting into the Victoria-Logs instance. [13:35 logs dvl ~] % curl -i -X POST "http://logs.int.unixathome.org:9428/insert/jsonline" \ -H "Content-Type: application/json" \ -d "{\"_msg\":\"GET /commit.php?category=net-p2p HTTP/1.1\",\"_time\":\"$(date -u… 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