I have just installed logstash 5.2.0 on a clean Ubuntu 16.04, and my 'metric' filter is now writing its 1-minute document count and rates to syslog instead of logstash.stdout.
Is this a change in 5.2.0?
With 2.4, it used to be logstash.stdout in the /var/log/logstash folder, this seemed to change to a variant of logstash.stdout (IIRC it had other alphanumerics in the name) in /var/log, but now the output only appears in syslog.
FTR, the relevant part of my config is as follows:
filter
{
metrics {
meter => "documents"
add_tag => "metric"
flush_interval => 60
}
}
output {
if "metric" in [tags] {
stdout {
codec => line {
format => "1m rate: %{[documents][rate_1m]} ( %{[documents][count]} )"
}
}
}
}
Andrew.