com.agido.logback.elasticsearch.StructuredArgsElasticsearchAppender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logback-elasticsearch-appender Show documentation
Show all versions of logback-elasticsearch-appender Show documentation
Send log events directly from Logback to Elasticsearch
The newest version!
package com.agido.logback.elasticsearch;
import com.agido.logback.elasticsearch.config.Settings;
import java.io.IOException;
public class StructuredArgsElasticsearchAppender extends ElasticsearchAppender {
public StructuredArgsElasticsearchAppender() {
}
public StructuredArgsElasticsearchAppender(Settings settings) {
super(settings);
}
protected StructuredArgsElasticsearchPublisher buildElasticsearchPublisher() throws IOException {
return new StructuredArgsElasticsearchPublisher(this.getContext(), this.errorReporter, this.settings,
this.elasticsearchProperties, this.headers);
}
}