public class ElasticsearchAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
Modifier and Type | Class and Description |
---|---|
static class |
ElasticsearchAppender.Builder |
Modifier and Type | Field and Description |
---|---|
protected ElasticsearchIndexManager |
elasticsearchIndexManager |
Modifier | Constructor and Description |
---|---|
protected |
ElasticsearchAppender(String name,
org.apache.logging.log4j.core.Filter filter,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
boolean ignoreExceptions,
String domain,
ElasticsearchIndexManager elasticsearchIndexManager) |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.logging.log4j.core.LogEvent event) |
static ElasticsearchAppender.Builder |
newBuilder() |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toSerializable, toString
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
protected final ElasticsearchIndexManager elasticsearchIndexManager
protected ElasticsearchAppender(String name, org.apache.logging.log4j.core.Filter filter, org.apache.logging.log4j.core.Layout<? extends Serializable> layout, boolean ignoreExceptions, String domain, ElasticsearchIndexManager elasticsearchIndexManager)
@PluginBuilderFactory public static ElasticsearchAppender.Builder newBuilder()
public void append(org.apache.logging.log4j.core.LogEvent event)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.