public interface FlumeEventFactory
Modifier and Type | Method and Description |
---|---|
FlumeEvent |
createEvent(org.apache.logging.log4j.core.LogEvent event,
String includes,
String excludes,
String required,
String mdcPrefix,
String eventPrefix,
boolean compress)
Creates a Flume event.
|
FlumeEvent createEvent(org.apache.logging.log4j.core.LogEvent event, String includes, String excludes, String required, String mdcPrefix, String eventPrefix, boolean compress)
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.Copyright © 1999-1969 The 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.