README.markdown in fluent-plugin-map-0.0.4 vs README.markdown in fluent-plugin-map-0.0.5

- old
+ new

@@ -12,11 +12,11 @@ path /var/log/httpd-access.log tag tag </source> <match tag> type map - map [["code." + tag, time, {"code" => record["code"].to_i}], ["time." + tag, time, {"time" => record["time"].to_i}]] + map ([["code." + tag, time, {"code" => record["code"].to_i}], ["time." + tag, time, {"time" => record["time"].to_i}]]) multi true </match> <match code.tag> type file path code.log @@ -33,13 +33,21 @@ If you don't use multi option, you can use key, time, record parameter. The 2 following match directive is same: <match tag> type map - map ["code." + tag, time, {"code" => record["code"].to_i}] + map (["code." + tag, time, {"code" => record["code"].to_i}]) </match> <match tag> type map - tag "code." + tag + tag ("code." + tag) time time - record {"code" => record["code"].to_i} + record ({"code" => record["code"].to_i}) </match> + +Note: you have to wrap some configuration values with parenthesis like `("code." + tag)`, to avoid parsing by Fluentd itself. +See also: [Fluentd | Configuration File | Format tips](http://docs.fluentd.org/articles/config-file#format-tips) + +## Copyright + +* Copyright (c) 2015- Tomita Kohei +* Apache License, Version 2.0