Victoria Logs

Did VictoriaLogs miss any logs during the reboot?

Yesterday, I modified r730-01 by Running pkgbasify on FreeBSD 15.0 – as a consequence, my log collecting jail was offline. Did it miss any logs? Let’s find out. In this post: FreeBSD 15.0 syslog-ng-4.11.0_2 (sending logs from FreshPorts production) victoria-logs-1.50.0_2 (receiving logs in the logs jail The period in question Looking at /var/log/messages, I see: With syslogd now stopped, there are no further logs until: NOTE: I had not set the logs jail […]

Did VictoriaLogs miss any logs during the reboot? Read More »

Adding syslog-ng to a host to extract Nginx logs

This replaces and combines two earlier posts: Replacing syslogd with syslog-ng (sysutils/syslog-ng) on FreeBSD. Getting Nginx logs into Victoria-Logs I just got Victoria Logs running. Now I want to get logs into it. For starters, I want to get the logs on the host itself into Victoria Logs. I figure this is a log-risk experiment. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 syslog-ng-4.11.0_2 I’m installing syslog-ng on a host (x8dtu) The nginx logs reside

Adding syslog-ng to a host to extract Nginx logs Read More »

Getting Nginx logs into Victoria-Logs – v2

VictoriaLogs is feature rich, which means at this point, I know very little about it. However, this post has been deprecated by a newer post which covers more material. I do know that the original syslog-ng configuration I supplied in Getting Nginx logs into Victoria-Logs is now less complicated. With the help of duck.ai, I managed to reduce it. Now it’s sending the json without running it through a parser. In this post:

Getting Nginx logs into Victoria-Logs – v2 Read More »

VictoriaLogs: Adding syslog-ng to a host and ingesting nginx log from jails

This post is more self-documentation than anything else. The links in this post might be useful than the content. However, this post has been deprecated by a newer post which covers more material. 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

VictoriaLogs: Adding syslog-ng to a host and ingesting nginx log from jails Read More »

Getting Nginx logs into Victoria-Logs

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 NOTE: This post was originally only about Nginx. I’ve since added general syslog messages to the configuration. However, this post has been deprecated by a newer post which covers more material. Also, the Adding an nginx proxy in front of Victoria-Labs post might be helpful before proceeding here. Over the

Getting Nginx logs into Victoria-Logs Read More »

Adding an nginx proxy in front of Victoria-Labs

Victoria-Logs has an built-in UI – and it’s easier for me to access via my web browser if I put Nginx in front of it. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 nginx-1.30.2_2,3/li> Victoria Logs config This is the main configuration, as found in /etc/rc.conf: Those \ and multiple lines, yea, don’t do that, put it all on one line. I’ve done that above to make it easier for you to read. Nginx This

Adding an nginx proxy in front of Victoria-Labs Read More »

Scroll to Top