v11.3.0
This release finishes fixing a problem with ephemeral disk usage. It also adds an option to respect file permissions when forwarding files. And, we switched to a modern Golang version. For details, read on!
Fix: loglines forwarded to blackbox were still being written to disk multiple times, as we were unable to filter them with the necessary precision. We've taken over maintenance of blackbox and extended it so that we can filter these messages out. As a side-effect, messages forwarded from files now carry a PROCID of rs2
for the remote_syslog2
syslog library blackbox uses to forward them.
Experimental Feature: The syslog.respect_file_permissions
property is a preview of how we'd like to behave by default in the future. Right now, blackbox runs with the capability to read every file on the disk, and forwards every log file it can read. We'd like to only read files that we're meant to, as represented using linux filesystem permissions. So, with this property, we only forward .log
files in /var/vcap/sys/log
if they're readable to the syslog
user or the vcap
group.
We encourage CF component teams to try turning this on and see if they're getting all the logs they care about! More communication about this will be coming once it's easily available in cf-deployment
.
Fix: Go 1.7 was too old. Now we use Go 1.10!
Docs Note: We relocated our custom rule examples doc to the examples
directory, along with our example logstash config. This will break external links to master. Sorry! (Our examples are not part of our semver'd API, but we'll still at least apologize for breaking links.)