Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> Log4jAppender Hostname Interceptor

Copy link to this message
Re: Log4jAppender Hostname Interceptor
Hi Cam,
Log4j2 Flume Appender using the embedded agent allows Flume interceptors to
be specified.

It's a bit of a heavyweight solution because it inserts pretty much all of
Flume into the host process but it does work nicely.


Cameron said,

Thanks for the reply. You are correct we use the log4jappender without
running a local agent to send events to second tier remote agents. We would
like the header to reflect the host of the original event not the remote
agent. Just wanted to make sure this functionality didn't already exist
before I worked on a patch."