These aren't
the logs
you're looking for
Alicja Kwasniewska, Intel Eric Lemoine, Mirantis Michal Jastrzebski, Intel
the logs you're looking for Alicja Kwasniewska, Intel Eric - - PowerPoint PPT Presentation
These aren't the logs you're looking for Alicja Kwasniewska, Intel Eric Lemoine, Mirantis Michal Jastrzebski, Intel Alicja Kwasniewska Eric Lemoine Michal Jastrzebski Agenda Logging Central Hacking Elk or Kolla in logging Demo
Alicja Kwasniewska, Intel Eric Lemoine, Mirantis Michal Jastrzebski, Intel
Alicja Kwasniewska Eric Lemoine Michal Jastrzebski
Kolla Logging in dockers Hacking Rsyslog Central logging service Elk or Ehk? Demo
Kolla
customization
release, but you can also build images on your own Docker containers Deployment tools Out of the box configuration Kollaglue Customization
Docker logs
Default
NOTE: available only for containers with json-file and journald logging drivers
json syslog journald gelf fluentd
Previous solution based on rsyslog
“One Ring to rule them all, One Ring to find them...”
“Developer looking at production logs after a regression with downtime”
How it works?
Heka
Feed data
Elasticsearch
View
Kibana
/var/lib/ kolla/... Search Interact
Heka
F e e d d a t a /var/lib/k
Heka
Feed data /var/lib/k
Stream processing software
Why Heka?
→“Unified Data Processing” One tool for all the data:
reports/tracebacks
Ops data/ metrics Business data Logging
Error reports/ tracebacks
Heka Pipeline
Plugins at each stage of the pipeline
Heka Highlights
Lightweight Flexible Configurable Easily and safely extendable
Why did we choose Heka over Logstash?
* https://github.com/elemoine/heka-logstash-comparison
Introduction to Elasticsearch
com/elastic/elasticsearch
Elasticsearch Highlights
Highly Scalable Highly Available RESTful API Full-Text Search Document-
Introduction to Kibana
com/elastic/kibana
work with Elasticsearch)
Kibana concepts
maps Search Interact View Visualize Analyse
Kibana - authentication
Elastic Shield - provides security for entire stack, including Kibana plugin for session support and login screen, but requires a license… Nginx - use it as proxy with simple auth mechanism for Kibana HAProxy - add HTTP Basic authentication with ACL that uses the http_auth criterion and http-request auth rule Shield From Elastic Group Nginx HAProxy HTTP Basic authentication with ACL
3 easy steps
Build images with one command Adapt configuration files and enable central logging Deploy Kolla with one command
For details please watch webinar presented by Steven Dake - link provided at the last slide
Demo →
Alicja Kwasniewska alicja.kwasniewska@intel.com Eric Lemoine elemoine@mirantis.com Michal Jastrzebski michal.jastrzebski@intel.com
Irc: #openstack-kolla Webinar: https://vimeopro.com/midokura/345kl392