Upgrade to Pro — share decks privately, control downloads, hide ads and more …

When Monolog meet ELK

When Monolog meet ELK

talk given during sfPot Paris

Olivier Dolbeau

July 15, 2014
Tweet

More Decks by Olivier Dolbeau

Other Decks in Programming

Transcript

  1. Handlers • StreamHandler • ErrorLogHandler • SwiftMailerHandler • SyslogUdpHandler •

    FirePHPHandler • FingersCrossedHandler • NullHandler • … more than 36 handlers!
  2. What can I do with that? • Different handlers for

    different usage ◦ FirePHP for web ◦ Console for cli • Processor per handler • Processor per channel http://symfony.com/doc/current/cookbook/logging/channels_handlers.html
  3. Few things you can do • All my cli logs

    are displayed in console • I use FirePHP for web • publication logs are very important. I want to receive an email if an exception occurred. • I have a processor dedicated to workers. I can directly see which message raise an error. • I have a processor dedicated to web (you saw it) • ...
  4. • real time data • distributed • multi-tenancy • document

    oriented • schema free • per operation persistence • real time analytics • high availability • full text search • conflict management • restful api • built on top of apache lucene
  5. Conclusion • Use Monolog (easy!) • Use ELK • Use

    monolog context • Create dashboards • Enjoy!