[ANN] Log4j2 Elasticsearch appender

Hi,

I released a Log4j2 Elasticsearch appender

in the hope it is useful.

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEc3sHzFu8qD-gQzWsYQ2QFKAG%2BddJdqbSQh%2B0XD%2BSg9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Awesome! I had been wondering to myself about this for a while.

Brian

On Friday, July 18, 2014 4:08:14 AM UTC-4, Jörg Prante wrote:

Hi,

I released a Log4j2 Elasticsearch appender

GitHub - jprante/log4j2-elasticsearch: Log4j2 Elasticsearch appender

in the hope it is useful.

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cff91677-fe6d-48af-85df-dcd09880c44d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I'll try it as soon as I can!
thanks,
Alfredo
:slight_smile:

Il giorno venerdì 18 luglio 2014 10:08:14 UTC+2, Jörg Prante ha scritto:

Hi,

I released a Log4j2 Elasticsearch appender

GitHub - jprante/log4j2-elasticsearch: Log4j2 Elasticsearch appender

in the hope it is useful.

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dce481d9-ac3e-4fd0-aaba-3a4c69d07d34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I was indexing events into Elasticsearch via the standard SocketAppender
into Logstash, but I stopped doing so since the SocketAppender was not
releasing threads. Great to see a direct approach, but I like to use
Logstash in the middle as a buffer in order to batch events.

--
Ivan

On Sat, Jul 19, 2014 at 8:59 AM, Alfredo Serafini seralf@gmail.com wrote:

I'll try it as soon as I can!
thanks,
Alfredo
:slight_smile:

Il giorno venerdì 18 luglio 2014 10:08:14 UTC+2, Jörg Prante ha scritto:

Hi,

I released a Log4j2 Elasticsearch appender

GitHub - jprante/log4j2-elasticsearch: Log4j2 Elasticsearch appender

in the hope it is useful.

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/dce481d9-ac3e-4fd0-aaba-3a4c69d07d34%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/dce481d9-ac3e-4fd0-aaba-3a4c69d07d34%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCppMVB-9_0btCXtPTo67c%2BMFziYDff0qwiptj4kn-hyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

The Log4j appender is batching events because it is using bulk indexing. If
you are worried, you can set the bulk action size to an extreme high value
and increase heap to some GB only for buffering log messages, together with
a reasonable flush interval.

Jörg

On Mon, Jul 21, 2014 at 9:14 PM, Ivan Brusic ivan@brusic.com wrote:

I was indexing events into Elasticsearch via the standard SocketAppender
into Logstash, but I stopped doing so since the SocketAppender was not
releasing threads. Great to see a direct approach, but I like to use
Logstash in the middle as a buffer in order to batch events.

--
Ivan

On Sat, Jul 19, 2014 at 8:59 AM, Alfredo Serafini seralf@gmail.com
wrote:

I'll try it as soon as I can!
thanks,
Alfredo
:slight_smile:

Il giorno venerdì 18 luglio 2014 10:08:14 UTC+2, Jörg Prante ha scritto:

Hi,

I released a Log4j2 Elasticsearch appender

GitHub - jprante/log4j2-elasticsearch: Log4j2 Elasticsearch appender

in the hope it is useful.

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/dce481d9-ac3e-4fd0-aaba-3a4c69d07d34%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/dce481d9-ac3e-4fd0-aaba-3a4c69d07d34%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCppMVB-9_0btCXtPTo67c%2BMFziYDff0qwiptj4kn-hyw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCppMVB-9_0btCXtPTo67c%2BMFziYDff0qwiptj4kn-hyw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGim0o0LVVFRoLAM2DOHgS-4wM%2BariaLrF3aBg6Vjs2Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.