Hi Gary,
Perhaps but if it is not possible it is also the wrong route... It would be
better to get proper log4j2 support done for logstash. I see some
engagement in the area when I google for it, I will try to poke around and
see if I can help with anything
cheers
On 18 May 2014 16:12, Gary
(Resending as I was using the wrong From: address and the list software
rejected my message.)
Hi,
That appender is on my todo list but I haven't had a chance to review it or
work on it. If you want to experiment with it and add your feedback to the
Jira ticket that would be great.
So logstash expects serialized Java Log4j 1.2 event objects over a socket?
That's not going to work with 2.0 out of the box since our implement is
different. Can you provide more information to make sure we all understand each
other please?
Gary
div Original message
Hi,
Logstash is highly extensible and they include a plugin called log4j. It
works out of the box with log4j, see this guide for some screenshots and
such
http://blog.yeradis.com/2013/10/logstash-and-apache-log4j-or-how-to.htmlThat
plugin does use the socket appender.
I have used this for some
I have managed to get logstash to work with Log4j 2 by using the tcp
input for logstash and json.
Log4j 2:
Appenders
Socket name=logstash protocol=tcp host=localhost port=4560
JSONLayout properties=true compact=true/
/Socket
/Appenders
Logstash:
input {
FYI, the link is
http://blog.yeradis.com/2013/10/logstash-and-apache-log4j-or-how-to.html
Gary
On Mon, May 19, 2014 at 7:37 AM, Karl Kildén karl.kil...@gmail.com wrote:
Hi,
Logstash is highly extensible and they include a plugin called log4j. It
works out of the box with log4j, see this
Hi,
I do not see (me, others may chime in) supporting log4j 1.2 serialized
events out of the box soon. I think the best solution would be to use a
Logstash appender or wait until the Logstash server supports Logj4j 2.0.
Gary
On Mon, May 19, 2014 at 7:37 AM, Karl Kildén karl.kil...@gmail.com
Make sure you use the download, build and use the trunk version of Log4j 2.
The JSON format is final or near final in trunk and the same as in rc1.
Gary
On Mon, May 19, 2014 at 8:25 AM, Mikael Ståldal
mikael.stal...@appearnetworks.com wrote:
I have managed to get logstash to work with Log4j