flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Sell <trs...@gmail.com>
Subject Re: escaped value decorator
Date Tue, 20 Sep 2011 16:18:53 GMT
turns out that was the correct format, and it does escape it correctly
if I'm using a collector, but not if I log to console(avrojson).

On 20 September 2011 16:29, Tim Sell <trsell@gmail.com> wrote:
> What is the correct way to escape the value decorator? the
> documentation doesn't give any examples.\
>
> If for example I want to include the host in another attribute, is this correct?
>
> value("attr", "%{host}", escape=true)
>
> Because I am just getting the string "%{host}" as the attribute value.
>

Mime
View raw message