flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean garutti <lagaru...@yahoo.fr>
Subject [flume log4J appender] how to insert headers in the event
Date Sat, 01 Mar 2014 22:08:18 GMT
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

Mime
View raw message