Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.logging.log4j.flume.appender
Interface FlumeEventFactory

All Known Implementing Classes:
  FlumeAppender

    public interface FlumeEventFactory

Factory to create Flume events.

Method Summary
`FlumeEvent` | `createEvent(org.apache.logging.log4j.core.LogEvent event, String includes, String excludes, String required, String mdcPrefix, String eventPrefix, boolean compress)` Create a Flume event.

Method Detail

### createEvent

    FlumeEvent createEvent(org.apache.logging.log4j.core.LogEvent event,
                           String includes,
                           String excludes,
                           String required,
                           String mdcPrefix,
                           String eventPrefix,
                           boolean compress)

  Create a Flume event.

  Parameters:
    `event` - The Log4j LogEvent.
    `includes` - A comma separated list of MDC elements to include.
    `excludes` - A comma separated list of MDC elements to exclude.
    `required` - A comma separated list of MDC elements that are required.
    `mdcPrefix` - The value to prefix to MDC keys.
    `eventPrefix` - The value to prefix to event keys.
    `compress` - If true the event body should be compressed.
  Returns:
    A FlumeEvent.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.