Uploaded image for project: 'logstash'
  1. LOGSTASH-2266

Documentation for metrics filter uses wrong example

    Details

      Description

      The documentation for the metrics filter gives an example:

      ...
      output {

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

        }
        }

      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

          Attachments

            Activity

              People

              • Assignee:
                logstash-dev Logstash Developers (Inactive)
                Reporter:
                woolfie Iain Woolf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: