add_tag and add_field does not resolve dynamic links in metrics filter

Description

Given the attached config file (test.conf)
and the input string (on stdin):

I get the response:

I would expect the added field and the added tag to resolve the dynamic link "%{hostname}" instead of addding it as a string.

Activity

Show:
i5513
April 3, 2014, 10:48 AM

Hello,

Maybe metric event should inherent %{host} field.

While add_tag and add_field doesn't work, source field of generated event from metrics filter will be '%{host}', which is not very useful

Thank you very much

Tim Bunce
June 12, 2014, 1:26 PM

See also

Assignee

Philippe Weber

Reporter

Björn Ingeson

Affects versions

Configure