SlideShare a Scribd company logo
1 of 21
Download to read offline
17/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Tools and Techniques
for Logging Microservices
Presented by:
27/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Microservices defined
A microservice is an application consisting of multiple small,
independent, intercommunicating components. Each component
(known as a service) is modular, reusable, and self-contained and
communicates with other services using language-agnostic
protocols.
As more businesses turn towards microservices as a way of
handling large workloads in a distributed and scalable way,
software developers need effective logging methods.
37/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Example:
Microservices in an e-commerce application
Each task is a small, self-contained unit that communicates with other units through APIs.
NGINX
web
server
Customer
MySQL
server
Stores
customer
& order data
Handles requests
from public
Internet
Multiple PHP modules for
Order
processing
Validating payment
with third-party
processor
Generating
HTML
£ ¥ $ € <html>…
</html>
47/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Microservices in a nutshell
Difference between traditional monolithic applications and microservices
An instance of a service can be created, stopped,
restarted, and destroyed at any time without
impacting other services. Any logging functionality
implemented can’t rely on the service persisting
for any period of time.
Microservices
are
stateless
57/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Microservices
are
distributed
Microservices in a nutshell
Difference between traditional monolithic applications and microservices
For logging related data from two completely
independent platforms. To log effectively, we need
a way to correlate events across the
infrastructure.
67/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Microservices
are
independent
Microservices in a nutshell
Difference between traditional monolithic applications and microservices
A stack trace in a monolithic Java application, will
bring you straight to the source of a problem. A
stack trace in a service will only bring you to the
start of that service, not the entry point of the
microservice itself.
77/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Techniques for logging microservices
When logging microservices, you have to consider that logs
are coming from several different services
Two ways to
approach logging:
Logging from within each service
Logging from the infrastructure
87/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Techniques for logging microservices
Logging from individual services
• Add your logging framework into the
service itself
• Possible to use different logging
frameworks (log4php, Monolog) in
different services
• Append information to each log
event to help identify where the
event took place (e.g. service name)
Logging
framework
Logging
framework
Microservice architecture
Service Service
Log destination
97/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Techniques for logging microservices
Logging from individual services
Pluses:
• Affords maximum flexibility
to developers
Minuses:
• Creates redundancy
• Adds complexity
• Makes it difficult to change
logging behavior across
multiple services
107/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Logging
framework
Logging
framework
Microservice architecture
Service Service
Log destination
Centralized logging service
• Services forward logs to a logging
service
• Services still need a way to generate
logs
• Logging service is responsible for
processing, storing, or sending logs
to a centralized location
Techniques for logging microservices
Logging from a central service
117/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Docker example of logging to a centralized service
Example: The Loggly Docker image
provided by SendGrid Labs.
• Image creates container running
rsyslog daemon that listens for
incoming syslog messages
• Incoming events are immediately
forwarded to centralized log
management system like Loggly
• Multiple logging containers can run
simultaneously for load balancing and
redundancy
Directory Loggly
Docker
App
Container 1
Directory
Docker
App
Container 2
Directory
127/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Docker examples: Logging from a central service
Alternative: gather logs from the infrastructure itself
stderr stdout
Docker
App
Container 1
Directory
Docker
App
Container 2
Directory
Active Docker containers print log events to stderr and stdout
Docker logging driver
Docker logging driver detects output generated on these streams, captures it,
and forwards it through the configured driver. You can then configure a syslog
driver that forwards log events from your containers directly to Loggly.
Configured
driver
Alternative: Utilize tools like logspout
Loggly
Docker
App
Container 1
Directory
Docker
App
Container 2
Directory
logspout
Logspout is another Docker-based solution
that runs as its own service. It attaches to
other containers on the same host and routes
events to a destination such as Loggly.
logspout
The benefit of tools like logspout is
their ease of use: Simply deploy
them alongside your other services
and they immediately go to work.
137/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Tips for logging microservices
147/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Your containerized applications can generate application-
related content such as classes, methods, and stack
traces, but will they tell you where in your architecture the
event was generated?
Simple solution: Append a unique identifier, such as the
name of the container, to newly generated logs.
Without this, logs are completely unaware of your
microservice architecture.
Store
enough
data
1.
157/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
When dealing with distributed services, you need a way of
tracing a series of events back to the source.
• Attaching a unique identifier, such as a request ID for a
web server, to each request as it enters the
microservice
• By filtering on identifier, you can easily follow trail of
events from the entry point all the way to the error
Correlate
events
2.
167/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
In a microservice architecture, new code can be deployed
in a matter of seconds. You need to be ready to identify
the cause of any deployment failure and understand the
state of the architecture.
3.
Log
your
deployment
177/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
When a service goes down, you’ll want to know
immediately. A log management service can generate
alerts by filtering log events based on a pattern, such as a
large number of exceptions in a short amount of time.
4.
Set
alerts
187/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Putting It All Together
What this process ultimately allows us to do is to generate microservice logs that are unique,
traceable, and contain enough data to act on quickly and effectively. To create these logs:
Correlate
events from each
microservice to
create an overall
view of the request
Append
a unique identifier
to requests as
they enter the
architecture
Identify
the service that
generates events
Generate
events specific to
each microservice
as the request
enters and leaves
the service
197/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
Putting It All Together
Traces a single request across the architecturerequest ID
service ID Uniquely identifies the service that generated the event
The result is a series of log events that contain (at a minimum):
Unique content associated with the event, such as messages,
severity levels, class and method names, and stack traces
207/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
So you have microservices. Now what?
Centralize all of your log data and see what matters fast.
Try Loggly for free!
Loggly is the world’s most popular cloud-based, enterprise-class log management service, serving more
than 10,000 customers including one-third of the Fortune 500. The Loggly service integrates into the
engineering processes of teams employing continuous deployment and DevOps practices to reduce MTTR,
improve service quality, accelerate innovation, and make better use of valuable development resources.
www.loggly.com/trial
217/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/
About the author
Andre Newman is a software developer and writer on all things
tech. With over eight years of experience in Java, .NET, C++, and
Python, Andre has developed software for remote systems
management, online retail, and real-time web applications. He
currently manages 8-bit Buddhism, a blog that blends technology
with spirituality.

More Related Content

What's hot

Developing Business Blockchain Applications on Hyperledger
Developing Business  Blockchain Applications on Hyperledger Developing Business  Blockchain Applications on Hyperledger
Developing Business Blockchain Applications on Hyperledger IMC Institute
 
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...MongoDB
 
Introduction To Hyperledger Composer
Introduction To Hyperledger ComposerIntroduction To Hyperledger Composer
Introduction To Hyperledger ComposerSharan Rajani
 
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...MongoDB
 
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа....NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...NETFest
 
Hyperledger Fabric and Tools
Hyperledger Fabric and ToolsHyperledger Fabric and Tools
Hyperledger Fabric and ToolsRihusoft
 
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB
 
Webinar: MongoDB Compass - Data navigation made easy
Webinar: MongoDB Compass - Data navigation made easyWebinar: MongoDB Compass - Data navigation made easy
Webinar: MongoDB Compass - Data navigation made easyMongoDB
 
From on premises monolith to cloud microservices
From on premises monolith to cloud microservicesFrom on premises monolith to cloud microservices
From on premises monolith to cloud microservicesAlbert Lombarte
 
Accelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data StrategyAccelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data StrategyMongoDB
 
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB CompassMongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB CompassMongoDB
 
Managing Cloud Security Design and Implementation in a Ransomware World
Managing Cloud Security Design and Implementation in a Ransomware World Managing Cloud Security Design and Implementation in a Ransomware World
Managing Cloud Security Design and Implementation in a Ransomware World MongoDB
 
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?NETFest
 
Building the Real-Time Performance Panel
Building the Real-Time Performance PanelBuilding the Real-Time Performance Panel
Building the Real-Time Performance PanelMongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB
 
Introducing MongoDB Atlas
Introducing MongoDB AtlasIntroducing MongoDB Atlas
Introducing MongoDB AtlasMongoDB
 
Opentracing jaeger
Opentracing jaegerOpentracing jaeger
Opentracing jaegerOracle Korea
 

What's hot (20)

Developing Business Blockchain Applications on Hyperledger
Developing Business  Blockchain Applications on Hyperledger Developing Business  Blockchain Applications on Hyperledger
Developing Business Blockchain Applications on Hyperledger
 
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
MongoDB .local Chicago 2019: Modern Data Backup and Recovery from On-premises...
 
Introduction To Hyperledger Composer
Introduction To Hyperledger ComposerIntroduction To Hyperledger Composer
Introduction To Hyperledger Composer
 
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
 
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа....NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...
.NET Fest 2017. Денис Резник. Исполнение Запроса в SQL Server. Ожидание - Реа...
 
Hyperledger Fabric and Tools
Hyperledger Fabric and ToolsHyperledger Fabric and Tools
Hyperledger Fabric and Tools
 
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
 
Webinar: MongoDB Compass - Data navigation made easy
Webinar: MongoDB Compass - Data navigation made easyWebinar: MongoDB Compass - Data navigation made easy
Webinar: MongoDB Compass - Data navigation made easy
 
From on premises monolith to cloud microservices
From on premises monolith to cloud microservicesFrom on premises monolith to cloud microservices
From on premises monolith to cloud microservices
 
Accelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data StrategyAccelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data Strategy
 
IBM Blockchain Overview
IBM Blockchain OverviewIBM Blockchain Overview
IBM Blockchain Overview
 
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB CompassMongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
 
Managing Cloud Security Design and Implementation in a Ransomware World
Managing Cloud Security Design and Implementation in a Ransomware World Managing Cloud Security Design and Implementation in a Ransomware World
Managing Cloud Security Design and Implementation in a Ransomware World
 
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?
.NET Fest 2017. Anton Moldovan. How do we cook highload microservices at SBTech?
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 
Introduction to Fabric Composer
Introduction to Fabric ComposerIntroduction to Fabric Composer
Introduction to Fabric Composer
 
Building the Real-Time Performance Panel
Building the Real-Time Performance PanelBuilding the Real-Time Performance Panel
Building the Real-Time Performance Panel
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
 
Introducing MongoDB Atlas
Introducing MongoDB AtlasIntroducing MongoDB Atlas
Introducing MongoDB Atlas
 
Opentracing jaeger
Opentracing jaegerOpentracing jaeger
Opentracing jaeger
 

Similar to Tools for Effective Logging in Microservices Architectures

Yuriy Chapran - Building microservices.
Yuriy Chapran - Building microservices.Yuriy Chapran - Building microservices.
Yuriy Chapran - Building microservices.Yuriy Chapran
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016Tom Boucher
 
Log Analytics for Distributed Microservices
Log Analytics for Distributed MicroservicesLog Analytics for Distributed Microservices
Log Analytics for Distributed MicroservicesKai Wähner
 
Design Microservice Architectures the Right Way
Design Microservice Architectures the Right WayDesign Microservice Architectures the Right Way
Design Microservice Architectures the Right WayC4Media
 
Microservices, Containers, and Beyond
Microservices, Containers, and BeyondMicroservices, Containers, and Beyond
Microservices, Containers, and BeyondLakmal Warusawithana
 
[WSO2Con Asia 2018] Microservices, Containers, and Beyond
[WSO2Con Asia 2018] Microservices, Containers, and Beyond[WSO2Con Asia 2018] Microservices, Containers, and Beyond
[WSO2Con Asia 2018] Microservices, Containers, and BeyondWSO2
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesAraf Karsh Hamid
 
Monitoring Your AWS EKS Environment with Datadog
Monitoring Your AWS EKS Environment with DatadogMonitoring Your AWS EKS Environment with Datadog
Monitoring Your AWS EKS Environment with DatadogDevOps.com
 
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...Editor IJCATR
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Araf Karsh Hamid
 
Loggly - Case Study - Datami Keeps Developer Productivity High with Loggly
Loggly - Case Study - Datami Keeps Developer Productivity High with LogglyLoggly - Case Study - Datami Keeps Developer Productivity High with Loggly
Loggly - Case Study - Datami Keeps Developer Productivity High with LogglySolarWinds Loggly
 
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...Priyanka Aash
 
Deploying A Proof Of Stake App On IBM Cloud Using Tendermint
Deploying A Proof Of Stake App On IBM Cloud Using TendermintDeploying A Proof Of Stake App On IBM Cloud Using Tendermint
Deploying A Proof Of Stake App On IBM Cloud Using TendermintKunal Malhotra
 
Prolifics IBM Cloud Private Accelerators
Prolifics IBM Cloud Private AcceleratorsProlifics IBM Cloud Private Accelerators
Prolifics IBM Cloud Private AcceleratorsGreg Hodgkinson
 
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and MicroservicesCase Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and MicroservicesKai Wähner
 

Similar to Tools for Effective Logging in Microservices Architectures (20)

vinay-mittal-new
vinay-mittal-newvinay-mittal-new
vinay-mittal-new
 
Yuriy Chapran - Building microservices.
Yuriy Chapran - Building microservices.Yuriy Chapran - Building microservices.
Yuriy Chapran - Building microservices.
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016
 
Log Analytics for Distributed Microservices
Log Analytics for Distributed MicroservicesLog Analytics for Distributed Microservices
Log Analytics for Distributed Microservices
 
Logging service design
Logging service designLogging service design
Logging service design
 
Design Microservice Architectures the Right Way
Design Microservice Architectures the Right WayDesign Microservice Architectures the Right Way
Design Microservice Architectures the Right Way
 
Microservices, Containers, and Beyond
Microservices, Containers, and BeyondMicroservices, Containers, and Beyond
Microservices, Containers, and Beyond
 
[WSO2Con Asia 2018] Microservices, Containers, and Beyond
[WSO2Con Asia 2018] Microservices, Containers, and Beyond[WSO2Con Asia 2018] Microservices, Containers, and Beyond
[WSO2Con Asia 2018] Microservices, Containers, and Beyond
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
 
Monitoring Your AWS EKS Environment with Datadog
Monitoring Your AWS EKS Environment with DatadogMonitoring Your AWS EKS Environment with Datadog
Monitoring Your AWS EKS Environment with Datadog
 
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...
Encrypted Query Processing Based Log Management in the Cloud for Improved Pot...
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018
 
Microservices-101
Microservices-101Microservices-101
Microservices-101
 
Loggly - Case Study - Datami Keeps Developer Productivity High with Loggly
Loggly - Case Study - Datami Keeps Developer Productivity High with LogglyLoggly - Case Study - Datami Keeps Developer Productivity High with Loggly
Loggly - Case Study - Datami Keeps Developer Productivity High with Loggly
 
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
 
Deploying A Proof Of Stake App On IBM Cloud Using Tendermint
Deploying A Proof Of Stake App On IBM Cloud Using TendermintDeploying A Proof Of Stake App On IBM Cloud Using Tendermint
Deploying A Proof Of Stake App On IBM Cloud Using Tendermint
 
Serverless Spring
Serverless SpringServerless Spring
Serverless Spring
 
Prolifics IBM Cloud Private Accelerators
Prolifics IBM Cloud Private AcceleratorsProlifics IBM Cloud Private Accelerators
Prolifics IBM Cloud Private Accelerators
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and MicroservicesCase Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
 

More from SolarWinds Loggly

Loggly - 5 Popular .NET Logging Libraries
Loggly - 5 Popular .NET Logging LibrariesLoggly - 5 Popular .NET Logging Libraries
Loggly - 5 Popular .NET Logging LibrariesSolarWinds Loggly
 
Loggly - IT Operations in a Serverless World (Infographic)
Loggly - IT Operations in a Serverless World (Infographic)Loggly - IT Operations in a Serverless World (Infographic)
Loggly - IT Operations in a Serverless World (Infographic)SolarWinds Loggly
 
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...SolarWinds Loggly
 
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...SolarWinds Loggly
 
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...SolarWinds Loggly
 
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...SolarWinds Loggly
 
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...SolarWinds Loggly
 
6 Critical SaaS Engineering Mistakes to Avoid
6 Critical SaaS Engineering Mistakes to Avoid6 Critical SaaS Engineering Mistakes to Avoid
6 Critical SaaS Engineering Mistakes to AvoidSolarWinds Loggly
 
Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Rumble Entertainment GDC 2014: Maximizing Revenue Through LoggingRumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Rumble Entertainment GDC 2014: Maximizing Revenue Through LoggingSolarWinds Loggly
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly SolarWinds Loggly
 

More from SolarWinds Loggly (10)

Loggly - 5 Popular .NET Logging Libraries
Loggly - 5 Popular .NET Logging LibrariesLoggly - 5 Popular .NET Logging Libraries
Loggly - 5 Popular .NET Logging Libraries
 
Loggly - IT Operations in a Serverless World (Infographic)
Loggly - IT Operations in a Serverless World (Infographic)Loggly - IT Operations in a Serverless World (Infographic)
Loggly - IT Operations in a Serverless World (Infographic)
 
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...
Loggly - Case Study - Loggly and Docker Deliver Powerful Monitoring for XAPPm...
 
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...
Loggly - Case Study - Stanley Black & Decker Transforms Work with Support fro...
 
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...
Loggly - Case Study - Loggly and Kubernetes Give Molecule Easy Access to the ...
 
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...
Loggly - Case Study - BEMOBI - Bemobi Monitors the Experience of 500 Million ...
 
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...
Why @Loggly Loves Apache Kafka, and How We Use Its Unbreakable Messaging for ...
 
6 Critical SaaS Engineering Mistakes to Avoid
6 Critical SaaS Engineering Mistakes to Avoid6 Critical SaaS Engineering Mistakes to Avoid
6 Critical SaaS Engineering Mistakes to Avoid
 
Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Rumble Entertainment GDC 2014: Maximizing Revenue Through LoggingRumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

Tools for Effective Logging in Microservices Architectures

  • 1. 17/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Tools and Techniques for Logging Microservices Presented by:
  • 2. 27/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Microservices defined A microservice is an application consisting of multiple small, independent, intercommunicating components. Each component (known as a service) is modular, reusable, and self-contained and communicates with other services using language-agnostic protocols. As more businesses turn towards microservices as a way of handling large workloads in a distributed and scalable way, software developers need effective logging methods.
  • 3. 37/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Example: Microservices in an e-commerce application Each task is a small, self-contained unit that communicates with other units through APIs. NGINX web server Customer MySQL server Stores customer & order data Handles requests from public Internet Multiple PHP modules for Order processing Validating payment with third-party processor Generating HTML £ ¥ $ € <html>… </html>
  • 4. 47/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Microservices in a nutshell Difference between traditional monolithic applications and microservices An instance of a service can be created, stopped, restarted, and destroyed at any time without impacting other services. Any logging functionality implemented can’t rely on the service persisting for any period of time. Microservices are stateless
  • 5. 57/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Microservices are distributed Microservices in a nutshell Difference between traditional monolithic applications and microservices For logging related data from two completely independent platforms. To log effectively, we need a way to correlate events across the infrastructure.
  • 6. 67/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Microservices are independent Microservices in a nutshell Difference between traditional monolithic applications and microservices A stack trace in a monolithic Java application, will bring you straight to the source of a problem. A stack trace in a service will only bring you to the start of that service, not the entry point of the microservice itself.
  • 7. 77/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Techniques for logging microservices When logging microservices, you have to consider that logs are coming from several different services Two ways to approach logging: Logging from within each service Logging from the infrastructure
  • 8. 87/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Techniques for logging microservices Logging from individual services • Add your logging framework into the service itself • Possible to use different logging frameworks (log4php, Monolog) in different services • Append information to each log event to help identify where the event took place (e.g. service name) Logging framework Logging framework Microservice architecture Service Service Log destination
  • 9. 97/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Techniques for logging microservices Logging from individual services Pluses: • Affords maximum flexibility to developers Minuses: • Creates redundancy • Adds complexity • Makes it difficult to change logging behavior across multiple services
  • 10. 107/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Logging framework Logging framework Microservice architecture Service Service Log destination Centralized logging service • Services forward logs to a logging service • Services still need a way to generate logs • Logging service is responsible for processing, storing, or sending logs to a centralized location Techniques for logging microservices Logging from a central service
  • 11. 117/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Docker example of logging to a centralized service Example: The Loggly Docker image provided by SendGrid Labs. • Image creates container running rsyslog daemon that listens for incoming syslog messages • Incoming events are immediately forwarded to centralized log management system like Loggly • Multiple logging containers can run simultaneously for load balancing and redundancy Directory Loggly Docker App Container 1 Directory Docker App Container 2 Directory
  • 12. 127/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Docker examples: Logging from a central service Alternative: gather logs from the infrastructure itself stderr stdout Docker App Container 1 Directory Docker App Container 2 Directory Active Docker containers print log events to stderr and stdout Docker logging driver Docker logging driver detects output generated on these streams, captures it, and forwards it through the configured driver. You can then configure a syslog driver that forwards log events from your containers directly to Loggly. Configured driver Alternative: Utilize tools like logspout Loggly Docker App Container 1 Directory Docker App Container 2 Directory logspout Logspout is another Docker-based solution that runs as its own service. It attaches to other containers on the same host and routes events to a destination such as Loggly. logspout The benefit of tools like logspout is their ease of use: Simply deploy them alongside your other services and they immediately go to work.
  • 13. 137/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Tips for logging microservices
  • 14. 147/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Your containerized applications can generate application- related content such as classes, methods, and stack traces, but will they tell you where in your architecture the event was generated? Simple solution: Append a unique identifier, such as the name of the container, to newly generated logs. Without this, logs are completely unaware of your microservice architecture. Store enough data 1.
  • 15. 157/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ When dealing with distributed services, you need a way of tracing a series of events back to the source. • Attaching a unique identifier, such as a request ID for a web server, to each request as it enters the microservice • By filtering on identifier, you can easily follow trail of events from the entry point all the way to the error Correlate events 2.
  • 16. 167/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ In a microservice architecture, new code can be deployed in a matter of seconds. You need to be ready to identify the cause of any deployment failure and understand the state of the architecture. 3. Log your deployment
  • 17. 177/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ When a service goes down, you’ll want to know immediately. A log management service can generate alerts by filtering log events based on a pattern, such as a large number of exceptions in a short amount of time. 4. Set alerts
  • 18. 187/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Putting It All Together What this process ultimately allows us to do is to generate microservice logs that are unique, traceable, and contain enough data to act on quickly and effectively. To create these logs: Correlate events from each microservice to create an overall view of the request Append a unique identifier to requests as they enter the architecture Identify the service that generates events Generate events specific to each microservice as the request enters and leaves the service
  • 19. 197/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ Putting It All Together Traces a single request across the architecturerequest ID service ID Uniquely identifies the service that generated the event The result is a series of log events that contain (at a minimum): Unique content associated with the event, such as messages, severity levels, class and method names, and stack traces
  • 20. 207/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ So you have microservices. Now what? Centralize all of your log data and see what matters fast. Try Loggly for free! Loggly is the world’s most popular cloud-based, enterprise-class log management service, serving more than 10,000 customers including one-third of the Fortune 500. The Loggly service integrates into the engineering processes of teams employing continuous deployment and DevOps practices to reduce MTTR, improve service quality, accelerate innovation, and make better use of valuable development resources. www.loggly.com/trial
  • 21. 217/28/17© 2017 Loggly Inc. Confidential and ProprietaryMORE DETAILS ON OUR BLOG: loggly.com/logging-microservices/ About the author Andre Newman is a software developer and writer on all things tech. With over eight years of experience in Java, .NET, C++, and Python, Andre has developed software for remote systems management, online retail, and real-time web applications. He currently manages 8-bit Buddhism, a blog that blends technology with spirituality.