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 <[email protected]> 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
