Logstash translate plugin example leads to error

The example given for dictionary field for logstash translate plugin is incorrect and when used causes logstash error.

In the example for dictionary field in translate plugin documentation, there should be no commas. Following is the text which is present on the website.

  translate {
    dictionary => {
      "100"         => "Continue",
      "101"         => "Switching Protocols",
      "merci"       => "thank you",
      "old version" => "new version"
    }
  }
}

Thanks for that report. The docs will be fixed in this Pull Request.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.