Error notification, or log parser?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error notification, or log parser?

Nick Hoffman
Hi guys. Is there a way to configure ES to notify someone or something when an error occurs? Alternatively, is there an ES log parser for finding errors in ES log files?

If neither exist, what's the recommended way to keep abreast of errors?

Thanks,
Nick
Reply | Threaded
Open this post in threaded view
|

Re: Error notification, or log parser?

Nick Hoffman
So ES logs messages using Log4j, which definitely supports email notifications. Is it possible to conifgure logging.yml to send emails when an error occurs?
Reply | Threaded
Open this post in threaded view
|

Re: Error notification, or log parser?

Eric Jain
On May 11, 10:04 am, Nick Hoffman <[hidden email]> wrote:
> So ES logs messages using Log4j, which definitely supports email
> notifications. Is it possible to conifgure logging.yml to send emails when
> an error occurs?

Haven't tried that but it should work?

Another solution ($) is Papertrail (via log4j syslog appender), see
http://help.papertrailapp.com/kb/configuration/java-log4j-logging.
Reply | Threaded
Open this post in threaded view
|

Re: Error notification, or log parser?

Nick Hoffman
Hey Eric. Any idea how you might configure logging.yml to fire off emails when errors occur?
Reply | Threaded
Open this post in threaded view
|

Re: Error notification, or log parser?

kimchy
Administrator
Never configured log4j with mail notifications, but configuration wise, the yml is basically the properties based configuration of log4j with properties simply squashed down.

On Mon, May 14, 2012 at 7:50 AM, Nick Hoffman <[hidden email]> wrote:
Hey Eric. Any idea how you might configure logging.yml to fire off emails when errors occur?