If you application is running somewhere and Mongo is running somewhere else I
would recommend using the Flume Appender to send the events to a Flume node
that is running where Mongo is. Then have Flume write the events to Mongo.
Ralph
> On Jan 19, 2018, at 8:32 AM, Joseph Husby
Hello!
I’m working on a project where we need to take log4j2 output and (offline)
load it into a Mongo database. We can't use a mongo appender because the
database is not available where the software is running. We could use the
log4j2's JsonLayout to have an easily parsable log format, but