Perhaps you can use the FailoverAppender for this?
http://logging.apache.org/log4j/2.x/manual/appenders.html#FailoverAppender
On Fri, Nov 20, 2015 at 6:55 PM, Nicholas Duane wrote:
> We're attempting to capture error, or info, events that our plugins
> raise. For instance, we
There exists a full-fledged Java API for Elasticsearch. Still, I am not
sure it's the best idea to lump all the intricacies of efficient indexing
into ES into a log4j2 appender. Logstash does this well - there is a reason
it is part of the Elastic family.
/David
On 23 November 2015 at 18:32,
ElasticSearch has a REST API for adding data which seems to be a rather
inefficient way to implement an appender.
On 19 November 2015 at 13:36, Matt Sicker wrote:
> I just spoke with my friend who's pretty familiar with both Solr and
> ElasticSearch, and he points out that