SlideShare a Scribd company logo
From logging to monitoring to reactive
insights
Christian Schneider
Christian Schneider
» For the last 6 years:
Open Source Architect at Talend
» Since October:
Computer scientist at Adobe.
» Apache member and committer
» Twitter @schneider_chris
» Website liquid-reality.de
What you will learn
» Apache Karaf Decanter + Elastic Search + Kibana
» Approaches for central monitoring and logging
» Custom reactive processing to produce higher
level informations
Basic logging in OSGi
» Pax logging
» Logback
» Log4j2
Files
Monitoring
Hawtio
JVisualVM
● Great tools
● Developer focused
● Production?
Production logging
Central History
Drill down Custom processing
ELK Stack
Karaf
Elastic Search
+
Kibana
Logstash
Server
File Beat
Metric Beat
Apache Decanter
Karaf
+
Decanter
Elastic Search
+
Kibana
Decanter architecture
Collector
Event
Admin
Appender
Apache Decanter
Collectors
● Pax-Logging
● JMX
● EventAdmin
● Camel
● ActiveMQ
● ...
Events
Appenders
● File
● DB
● Elastic Search
● Kafka
● JMS
● ...
Decanter setup for single machine
JMX
Collector
Log
Collector
Camel
Collector
Event
Admin
Elastic
Search
Appender
Decanter for multiple servers
Server 1
+
Decanter
Server 2
+
Decanter
Kafka
Cluster
Kafka
Cluster
Elastic Search
+
Kibana
Decanter
Decanter + logstash
Server 1
Karaf
Decanter
Server 2
Spring boot
Beats
Kafka
Cluster
Kafka
Cluster
Elastic Search
+
Kibana
Logstash
Server
Server 3
Tomcat
Beats
CXF Message logging
Client Server
Request
Out
Request
In
Response
Out
Response
Inslf4j slf4j
● Meta data as MDC properties
● Message id and correlation id
● Service name as logger name
Extending Decanter
» Collectors
» Appenders
» Filter, Enrich Events
» “Complex” Event Processing using Reactive Components
Event Processing use case
» Compute “up time” of bundles by noting start and stop
events and sending an event with the bundle runtime on
stop
» Alert when we we have more than x percent errors in
logged CXF messages
» Correlate request and response into one message sent
through decanter
» Only send aggregated events when your source produces
Events very fast
Demo time
Decanter in action
Thanks for your attention
Questions?
Further reading
Demo code
Apache Karaf decanter
CXF message logging
Reactive Components

More Related Content

PDF
Kibana + timelion: time series with the elastic stack
PDF
Black friday logs - Scaling Elasticsearch
PDF
Keynote -- Percona Live Europe 2018
PPTX
A (XPages) developers guide to Cloudant
PDF
Logging in The World of DevOps
PPTX
Kibana overview
PDF
Zentral QueryCon 2018
PDF
Lambda architecture
Kibana + timelion: time series with the elastic stack
Black friday logs - Scaling Elasticsearch
Keynote -- Percona Live Europe 2018
A (XPages) developers guide to Cloudant
Logging in The World of DevOps
Kibana overview
Zentral QueryCon 2018
Lambda architecture

What's hot (20)

PDF
Divide & Conquer - Logging Architecture in Distributed Ecosystems with Elasti...
PDF
Data / Streaming / Microservices Platform with Devops
PPTX
Open source big data landscape and possible ITS applications
PPTX
Realtime Business Platform Architecture Review
PDF
Presto Summit 2018 - 08 - FINRA
PPTX
Logstash, Elasticsearch and Kibana
PDF
Zentrales logging mit dem Elastic Stack
PPTX
Visualizing large datasets with elasticsearch and kibana
PDF
What’s Evolving in the Elastic Stack
PDF
Productionize spark structured streaming
PPTX
Elk meetup boston - logz.io
PPTX
Serverless
PDF
TiDB Introduction - San Francisco MySQL Meetup
PDF
Fluentd and Docker - running fluentd within a docker container
PDF
Graph Processing with Apache TinkerPop and Gremlin
PPTX
4Developers 2018: Przetwarzanie Big Data w oparciu o architekturę Lambda na p...
PPTX
AWS Finland meetup 2018 August
PDF
Logging and Monitoring your container-based infrastructures
PDF
New Features in MongoDB Atlas
PDF
TiDB Introduction
Divide & Conquer - Logging Architecture in Distributed Ecosystems with Elasti...
Data / Streaming / Microservices Platform with Devops
Open source big data landscape and possible ITS applications
Realtime Business Platform Architecture Review
Presto Summit 2018 - 08 - FINRA
Logstash, Elasticsearch and Kibana
Zentrales logging mit dem Elastic Stack
Visualizing large datasets with elasticsearch and kibana
What’s Evolving in the Elastic Stack
Productionize spark structured streaming
Elk meetup boston - logz.io
Serverless
TiDB Introduction - San Francisco MySQL Meetup
Fluentd and Docker - running fluentd within a docker container
Graph Processing with Apache TinkerPop and Gremlin
4Developers 2018: Przetwarzanie Big Data w oparciu o architekturę Lambda na p...
AWS Finland meetup 2018 August
Logging and Monitoring your container-based infrastructures
New Features in MongoDB Atlas
TiDB Introduction
Ad

Similar to From logging to monitoring to reactive insights - C Schneider (20)

PDF
Akka, Spark or Kafka? Selecting The Right Streaming Engine For the Job
PDF
Logging for Production Systems in The Container Era
PDF
Monitoring docker, k8s and your applications with the elastic stack
PPTX
Flink September 2015 Community Update
PDF
Logs aggregation and analysis
PDF
Concepts and Patterns for Streaming Services with Kafka
PDF
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
PDF
Analyzing Data at Scale with Apache Spark
PDF
Introduction to apache kafka, confluent and why they matter
PDF
Down the event-driven road: Experiences of integrating streaming into analyti...
PPTX
Data Streaming with Apache Kafka & MongoDB - EMEA
PPTX
Webinar: Data Streaming with Apache Kafka & MongoDB
PDF
Full stack visibility with elastic, KubeCon 2017
PPTX
Data Analysis on AWS
PDF
Akka Streams And Kafka Streams: Where Microservices Meet Fast Data
PDF
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
PPTX
Supporting Digital Media Workflows in the Cloud with Perforce Helix
PDF
Introduction to apache kafka
PDF
Fluentd Overview, Now and Then
PDF
16 months @ SoundCloud
Akka, Spark or Kafka? Selecting The Right Streaming Engine For the Job
Logging for Production Systems in The Container Era
Monitoring docker, k8s and your applications with the elastic stack
Flink September 2015 Community Update
Logs aggregation and analysis
Concepts and Patterns for Streaming Services with Kafka
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Analyzing Data at Scale with Apache Spark
Introduction to apache kafka, confluent and why they matter
Down the event-driven road: Experiences of integrating streaming into analyti...
Data Streaming with Apache Kafka & MongoDB - EMEA
Webinar: Data Streaming with Apache Kafka & MongoDB
Full stack visibility with elastic, KubeCon 2017
Data Analysis on AWS
Akka Streams And Kafka Streams: Where Microservices Meet Fast Data
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
Supporting Digital Media Workflows in the Cloud with Perforce Helix
Introduction to apache kafka
Fluentd Overview, Now and Then
16 months @ SoundCloud
Ad

More from mfrancis (20)

PDF
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
PDF
OSGi and Java 9+ - BJ Hargrave (IBM)
PDF
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
PDF
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
PDF
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
PDF
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
PDF
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
PDF
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
PDF
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
PDF
OSGi CDI Integration Specification - Ray Augé (Liferay)
PDF
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
PDF
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
PDF
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
PDF
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
PDF
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
PDF
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
PDF
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
PDF
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
PDF
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
PDF
How to connect your OSGi application - Dirk Fauth (Bosch)
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
OSGi and Java 9+ - BJ Hargrave (IBM)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
OSGi CDI Integration Specification - Ray Augé (Liferay)
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
How to connect your OSGi application - Dirk Fauth (Bosch)

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Encapsulation_ Review paper, used for researhc scholars
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Modernizing your data center with Dell and AMD
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Weekly Chronicles - August'25 Week I
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Encapsulation_ Review paper, used for researhc scholars
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Modernizing your data center with Dell and AMD
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Machine learning based COVID-19 study performance prediction

From logging to monitoring to reactive insights - C Schneider