Metrics fields require escaping '.' in %{foo.rate_1m} style strings

Description

This is pretty self explanatory - outputs cannot use %{events.rate_1m} format, as this results in printing the literal %{events.rate_1m} as opposed to the value of this field.

Tested with the following config:

Changing the last line to

results in the correct output:

Activity

Show:
Philippe Weber
June 25, 2014, 4:17 AM

Field reference syntax as changed in 1.4,please check the doc

http://logstash.net/docs/1.4.2/configuration#fieldreferences

Assignee

Logstash Developers

Reporter

Evan Ravenelle

Labels

Fix versions

Configure