You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by jean garutti <la...@yahoo.fr> on 2014/03/01 23:08:18 UTC

[flume log4J appender] how to insert headers in the event

Hi, 
i want to change my current setup (log4j with syslog appender => syslog-ng) to log4j with flume appender => flume-ng

i want to insert several headers to the avro event with log4j but i don't find how to do this.
Everything i know is how to customise the body with the ConversionPattern.

so how can i directly insert header to the event so that i can route event to different sinks bases on them ?

thanks 
Jean