Documentation for metrics filter uses wrong example

Description

The documentation for the metrics filter gives an example:

...
output {

  1. only emit events with the 'metric' tag
    if "metric" in [tags] {
    stdout {
    message => "rate: %{events.rate_1m}"
    }
    }
    }

However 'message' is a deprecated field of stdout. According to https://logstash.jira.com/browse/LOGSTASH-1413, this should be changed to use the line output.

Environment

None

Status

Assignee

Logstash Developers

Reporter

Iain Woolf

Fix versions

Affects versions

Priority

Configure