Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Matt Sicker
I just spoke with my friend who's pretty familiar with both Solr and ElasticSearch, and he points out that Solr usage might be a bit more convoluted due to how rigidly defined search indexes are compared to ES. It'd be like the difference between SQL and NoSQL. On 19 November 2015 at 12:28, Ralph

Suppressing exception trace to exception message only

2015-11-19 Thread Priya Ahuja
Hi, I am using log4jv2.3, I am looking for a way to suppress the exception trace and limit it to exception message only using log4j configuration? Thanks, Priya Ahuja

StatusLogger

2015-11-19 Thread Nicholas Duane
I'm trying to get information on the StatusLogger. I've searched and so far the log4j docs say: "Records events that occur in the logging system." There are also a bunch of articles related to people having problems with the StatusLogger. I'm just looking to find out what it is. It appears

Re: Suppressing exception trace to exception message only

2015-11-19 Thread Ralph Goers
Please see http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout . You can specify %ex{short.message} Ralph > On Nov 19, 2015, at 6:01 PM, Priya Ahuja wrote: > > Hi, > > I am

Re: StatusLogger

2015-11-19 Thread Ralph Goers
Yes, the StatusLogger is how Log4j logs things that happen within Log4j itself. If you are writing plugins for Log4j those should also use the StatusLogger as they effectively become part of Log4j. If the are regular application code then they should not use the StatusLogger. Although the

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Ralph Goers
The only problem I have is with the number of integrations we could do. ElasticSearch and Solr are similar, and Solr is an Apache project, so I would expect we would want to support both if we support either. Ralph > On Nov 19, 2015, at 10:07 AM, Gary Gregory wrote: >

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Mikael Ståldal
Is is even necessary to add Logstash to the mix? I think that Log4j 2 should be able to whatever is necessary by itself without either Flume or Logstash. On Wed, Nov 18, 2015 at 10:56 PM, David KOCH wrote: > We use log4j2's SyslogAppender and a logstash UDP input source,

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Gary Gregory
Amazon has a pretty rich ecosystem of stuff. Should this be in a new log4j-amazon module or in the core module? Does it fit in no-sql? Gary On Nov 19, 2015 6:29 AM, "Matt Sicker" wrote: > An ElasticSearchAppender does sound useful. We use Log4j2 in all our > projects, so we

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Mikael Ståldal
ElasticSearch is not Amazon specific (even though they provide it as a service), so I don't think it should be in an amazon module. You can run ElasticSearch yourself without Amazon.

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Mikael Ståldal
At my previous work, we first used Log4j 2 and Graylog, and Logstash in between. But then I developed GelfLayout (now part of log4j-core) and we could configure Log4j 2 to send log events directly to Graylog, and Logstash became unnecessary. Can we do something similar with ELK (so that it become

Re: Does anyone use Log4j2 with Logstash?

2015-11-19 Thread Matt Sicker
An ElasticSearchAppender does sound useful. We use Log4j2 in all our projects, so we don't really need to add middleware unless absolutely necessary. On 19 November 2015 at 07:35, Mikael Ståldal wrote: > At my previous work, we first used Log4j 2 and Graylog, and