Skip to content

danmassie/flumeback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flumeback

Latest Version License Scaladoc

Build Status Dependency Status Repo Size

A logback appender for Apache Flume, currently logs using HTTP/JSON.

Developed to configure our Play apps to log to our Flume setup.

How to Use

Add flumeback to your build system.

For sbt:

"com.beamly.flumeback" %% "flumeback" % "0.2.0"

For maven:

<dependency>
  <groupId>com.beamly.flumeback</groupId>
  <artifactId>flumeback_${scala.binary}</artifactId>
  <version>0.2.0</version>
</dependency>

(where scala.binary is defined somewhere as 2.11 or 2.10)

Configure logback

Add to logback.xml (conf/application-logger.xml for Play):

<appender name="FLUMEBACK" class="flumeback.FlumebackAppender" />

You can override the default settings within the appender. Here is an example with its defaults:

<appender name="FLUMEBACK" class="flumeback.FlumebackAppender">
  <host>localhost</host>
  <port>16301</port>
</appender>

Dependencies

  • Scala 2.11.x or 2.10.x
  • Logback 1.1.x
  • Dispatch 0.11.x

About

A Logback appender for Flume

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages