Flume AppenderThe Flume Appender allows applications to send events to Flume Agents. Remote AgentIncluding the Log4j flume-ng jar in your Maven-based project as a dependency should cause all the transitive dependencies necessary for the remote Agent to function to be included. Persistent AgentThe persistent agent uses Berkeley DB. The following dependency should be added to your pom.xml in addition to the log4j-flume-ng dependency.
Embedded AgentThe following is a sample pom file for Maven that can be used as a template for integrating the Flume Embedded Appender into an application.
RequirementsThe Flume Appender requires the Log4J 2 API. For more information, see Runtime Dependencies. |