The closest existing components that are vaguely related to what you're requesting are Mongo and CouchDB appenders. In log4j-core, the NoSQL appenders might be a good place to put this, but I'm not too sure. I mean, solr is kind of like a database, so it might belong in db at least.
On 26 January 2014 16:10, Markus Klose <lo...@markus-klose.de> wrote: > Hello everyone, > > > last thursday i had a small chat with christian grobmeier on a java user > group meeting > i am doing a lot of search and analytics in my daily business and i am > very interessted in developing a component that directly logs into a > solr/elasticsearch index > > Over a year ago i allready did some development on a solr appender > if you are interesetedyou can have a look at : > http://sourceforge.net/projects/log4jsolr.slugdev.p/ > > I like to develop a new component for log4j 2 > > My questions to you > - is there allready done or planned in that direction? > - where would such a component would fits best to log2j? (appender? > plugin?) > - whats the best way to configure an "appender"? in my first versionof > the solr appender i had a lot of optional field mapping whicht made the > configuration within the log4j.xml quite big > > would be great to get some feedback. > this could be a good way to connect log events directly to a tool like > kibana > > regards > Markus Klose > > > -- Matt Sicker <boa...@gmail.com>