flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Echeverria <j...@cloudera.com>
Subject Re: Event with character literal
Date Thu, 08 Jan 2015 14:53:10 GMT
You need an interceptor that will interpret the escaped characters in
the file. You could probably use the MorphlineIntercepter[1] to do
this.

-Joey

[1] http://flume.apache.org/FlumeUserGuide.html#morphline-interceptor

On Wed, Jan 7, 2015 at 8:40 PM, mahendran m <mahendranec@hotmail.com> wrote:
> Hi ,
>
> Is there any support in flume to handle the character literal when send
> event from file using spooling directory ?
>
> Example
>
> i am move the file using spooling directory which contain the following text
>
> Hi,\r\nHow are you ?
>
> i need it to be stored in HDFS as
>
> Hi,
> How are you ?
>
> it is working fine when i send message to flume source directly like JMS
> source or Http source. But not working in spooling directory.
>
> Thanks.



-- 
Joey Echeverria

Mime
View raw message