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.

Gliffy Diagrams

Activity

Show:

Philippe Weber January 25, 2015 at 8:53 AM

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Created July 6, 2014 at 2:10 PM
Updated January 25, 2015 at 8:53 AM
Resolved January 25, 2015 at 8:53 AM