SlideShare a Scribd company logo
Chicago MuleSoft Meetup
September 18, 2019
Chicago MuleSoft Meetup
September 18, 2019
Agenda
• 6:00PM – Doors open
• 6:00PM - 6:30PM – Network, Eat, and Socialize
• 6:30PM - 6:40PM – Introductions and Redwood Logistics' Story
• 6:40PM - 7:15PM – Logging
• 7:15PM - 7:30PM – Future State of Logging
• 7:30PM - 7:45PM – Q&A
• 7:45PM - 8:00PM – Open Floor, Suggestions for Future Topics and
Speakers
3
Introductions
• About the presenters:
• Redwood
• Eric Rempel, Chief Innovation Officer
• Big Compass
• Aaron Lieberman, MuleSoft Practice Manager and Lead Consultant
4
More Than Just Logging
• Redwood Logistics’ Logging Story
• The Importance of Logging
• Common Logging Mistakes
• MuleSoft Logging With Log4j2
• Logging to Different Target Systems
• Gaining Value Out of Logged Data With Redwood
• Redwood’s Future State
Redwood Logistics Story
6
Redwood Logistics’ Transformation
• Difficult to Support -> Deep
Visibility
• Reactive -> Proactive
7
Giveaway!
Why Log In The First Place?
• System visibility
• System traceability
• Supportability
• Debugging
9
Common Logging Mistakes
• No logging standards
• Hard coding
• Empty loggers
• Beware! CloudHub logs are limited by size
• 100MB or 30 days, whichever comes first
10
Logging Best Practices
• Standards, standards, standards
• JSON
• Key-value pairs
• Other formats
• Informative messages
• Visibility into the system
• Enhance debugging
• Before and after external system calls
• Request identifier
• Trace transaction from end to end
• Ability to calculate latency
11
Logging Best Practices Continued
• Dynamic error messages
• Persisting logs to a system
• Maintain historical logs
• Allows non-technical users to access and support applications
• Not too much logging, not too little
12
Demo!
Logging Common
Mistakes and How
To Fix Them
Logging With Log4j2
• MuleSoft logging power unlocked
with Log4j2
14
How Does Log4j2 Work?
15
Architecture - Log4j2 to ELK Stack
16
Demo!
Logging With Log4j2
and ELK and Gaining
Value out of Logged
Data
Giveaway!
Data = POWER!
• Logging to a centralized data
warehouse allows us to
• Gain deep visibility
• Expose data to customers securely
• Expose data internally
• Support any needs from across the
business on the core platform
• Become a data driven organization
19
Current Logging Architecture
20
What Does the Future Hold For Redwood?
• Ideal Architecture
• Logging Possibilities
• Loggly
• ELK
• Splunk
• Griffana
• Visualization Tools
• Tableau
• Looker
• Let the Data Drive Decisions
• Becoming a data driven organization
• Leading to Blockchain in Logistics
21
Questions?
Wrap Up
• Contact/Follow Us!
• Big Compass
• https://www.bigcompass.com
• LinkedIn - https://www.linkedin.com/company/big-compass/
• Twitter - https://twitter.com/big_compass
• Facebook - https://www.facebook.com/bigcompass/
• Redwood Logistics
• https://www.redwoodlogistics.com
• LinkedIn - https://www.linkedin.com/company/redwood-logistics-/
• Twitter - https://twitter.com/redwoodlgistics
• Facebook - https://www.facebook.com/redwoodlgistics/
• Aaron Lieberman
• https://www.linkedin.com/in/aaron-lieberman-8a89bb46/
• Eric Rempel
• https://www.linkedin.com/in/ericrempel/
• https://twitter.com/rempel?lang=en
23
References and Documentation
• Demo Project Code
• Logging project code: https://github.com/BigCompass/mulesoft-meetup-
logging-demo
• Log4j2
• Apache documentation: https://logging.apache.org/log4j/2.x/
• MuleSoft Documentation: https://docs.mulesoft.com/runtime-
manager/custom-log-appender
• Deploying to CloudHub
• Disable CloudHub logging to allow Log4j2 configuration to take over
• Documentation: https://docs.mulesoft.com/runtime-manager/custom-log-appender
24
What’s Next?
• Share:
• Share on social media with any pictures with the hashtag #MuleMeetup
• Invite your network to join: https://meetups.mulesoft.com/chicago/
• Feedback:
• Contact your organizer to suggest topics
• Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
• Our next meetup:
• Date: TBD
• Location: TBD
• Topic: TBD
25
See you next time
• Please send topic suggestions to the organizer

More Related Content

Similar to Chicago meetup sept2019presentation_final

The New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data ExplorationThe New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data Exploration
Inside Analysis
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitch
Enrique Lima
 
Baltic PM Days 2014 - Agile in Public Procurement Projects
Baltic PM Days 2014 - Agile in Public Procurement ProjectsBaltic PM Days 2014 - Agile in Public Procurement Projects
Baltic PM Days 2014 - Agile in Public Procurement Projects
Alexey Kovalyov
 
A kovaliov agile public procurement - pm days 2014
A kovaliov   agile public procurement - pm days 2014A kovaliov   agile public procurement - pm days 2014
A kovaliov agile public procurement - pm days 2014
Baltic Data Center (BDC)
 
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT PortfolioSilicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
Silicon Halton
 
Software Development & Architecture @ LinkedIn
Software Development & Architecture @ LinkedInSoftware Development & Architecture @ LinkedIn
Software Development & Architecture @ LinkedIn
C4Media
 
Lessons learned from the proverbial battlefield - Hortonworks roadshow
Lessons learned from the proverbial battlefield - Hortonworks roadshowLessons learned from the proverbial battlefield - Hortonworks roadshow
Lessons learned from the proverbial battlefield - Hortonworks roadshow
Suhail S.
 
The Future of ETL Isn't What It Used to Be
The Future of ETL Isn't What It Used to BeThe Future of ETL Isn't What It Used to Be
The Future of ETL Isn't What It Used to Be
confluent
 
Transform from database professional to a Big Data architect
Transform from database professional to a Big Data architectTransform from database professional to a Big Data architect
Transform from database professional to a Big Data architect
Saurabh K. Gupta
 
Phases of Big Data Challenges @ Nokia
Phases of Big Data Challenges @ NokiaPhases of Big Data Challenges @ Nokia
Phases of Big Data Challenges @ Nokia
Innovation Enterprise
 
Power to the People: A Stack to Empower Every User to Make Data-Driven Decisions
Power to the People: A Stack to Empower Every User to Make Data-Driven DecisionsPower to the People: A Stack to Empower Every User to Make Data-Driven Decisions
Power to the People: A Stack to Empower Every User to Make Data-Driven Decisions
Looker
 
SharePoint: The Catalyst for the Paperless Office
SharePoint: The Catalyst for the Paperless OfficeSharePoint: The Catalyst for the Paperless Office
SharePoint: The Catalyst for the Paperless Office
Stephen Boals
 
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
DianaGray10
 
Scaling Your Architecture with Services and Events
Scaling Your Architecture with Services and EventsScaling Your Architecture with Services and Events
Scaling Your Architecture with Services and Events
Randy Shoup
 
VSSML18. Machine Learning for ICOs
VSSML18. Machine Learning for ICOsVSSML18. Machine Learning for ICOs
VSSML18. Machine Learning for ICOs
BigML, Inc
 
Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020
Randy Shoup
 
Pipelining the Heroes with Kafka and Graph
Pipelining the Heroes with Kafka and GraphPipelining the Heroes with Kafka and Graph
Pipelining the Heroes with Kafka and Graph
confluent
 
Big Data Ecosystem @ LinkedIn
Big Data Ecosystem @ LinkedInBig Data Ecosystem @ LinkedIn
Big Data Ecosystem @ LinkedIn
Minh-Hoang Nguyen
 
Collaboration for Executives
Collaboration for ExecutivesCollaboration for Executives
Collaboration for Executives
colleenfry
 
Big Data Analytics with Qlik & Splunk, Qlik Qonnections
Big Data Analytics with Qlik & Splunk, Qlik QonnectionsBig Data Analytics with Qlik & Splunk, Qlik Qonnections
Big Data Analytics with Qlik & Splunk, Qlik Qonnections
Geralyn Maloney
 

Similar to Chicago meetup sept2019presentation_final (20)

The New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data ExplorationThe New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data Exploration
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitch
 
Baltic PM Days 2014 - Agile in Public Procurement Projects
Baltic PM Days 2014 - Agile in Public Procurement ProjectsBaltic PM Days 2014 - Agile in Public Procurement Projects
Baltic PM Days 2014 - Agile in Public Procurement Projects
 
A kovaliov agile public procurement - pm days 2014
A kovaliov   agile public procurement - pm days 2014A kovaliov   agile public procurement - pm days 2014
A kovaliov agile public procurement - pm days 2014
 
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT PortfolioSilicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
Silicon Halton -Meetup 32 - Optimizing Your Go To Market IT Portfolio
 
Software Development & Architecture @ LinkedIn
Software Development & Architecture @ LinkedInSoftware Development & Architecture @ LinkedIn
Software Development & Architecture @ LinkedIn
 
Lessons learned from the proverbial battlefield - Hortonworks roadshow
Lessons learned from the proverbial battlefield - Hortonworks roadshowLessons learned from the proverbial battlefield - Hortonworks roadshow
Lessons learned from the proverbial battlefield - Hortonworks roadshow
 
The Future of ETL Isn't What It Used to Be
The Future of ETL Isn't What It Used to BeThe Future of ETL Isn't What It Used to Be
The Future of ETL Isn't What It Used to Be
 
Transform from database professional to a Big Data architect
Transform from database professional to a Big Data architectTransform from database professional to a Big Data architect
Transform from database professional to a Big Data architect
 
Phases of Big Data Challenges @ Nokia
Phases of Big Data Challenges @ NokiaPhases of Big Data Challenges @ Nokia
Phases of Big Data Challenges @ Nokia
 
Power to the People: A Stack to Empower Every User to Make Data-Driven Decisions
Power to the People: A Stack to Empower Every User to Make Data-Driven DecisionsPower to the People: A Stack to Empower Every User to Make Data-Driven Decisions
Power to the People: A Stack to Empower Every User to Make Data-Driven Decisions
 
SharePoint: The Catalyst for the Paperless Office
SharePoint: The Catalyst for the Paperless OfficeSharePoint: The Catalyst for the Paperless Office
SharePoint: The Catalyst for the Paperless Office
 
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
“So Now You’re a UiPath Developer – What’s Next?” How do you Manage the Work?
 
Scaling Your Architecture with Services and Events
Scaling Your Architecture with Services and EventsScaling Your Architecture with Services and Events
Scaling Your Architecture with Services and Events
 
VSSML18. Machine Learning for ICOs
VSSML18. Machine Learning for ICOsVSSML18. Machine Learning for ICOs
VSSML18. Machine Learning for ICOs
 
Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020
 
Pipelining the Heroes with Kafka and Graph
Pipelining the Heroes with Kafka and GraphPipelining the Heroes with Kafka and Graph
Pipelining the Heroes with Kafka and Graph
 
Big Data Ecosystem @ LinkedIn
Big Data Ecosystem @ LinkedInBig Data Ecosystem @ LinkedIn
Big Data Ecosystem @ LinkedIn
 
Collaboration for Executives
Collaboration for ExecutivesCollaboration for Executives
Collaboration for Executives
 
Big Data Analytics with Qlik & Splunk, Qlik Qonnections
Big Data Analytics with Qlik & Splunk, Qlik QonnectionsBig Data Analytics with Qlik & Splunk, Qlik Qonnections
Big Data Analytics with Qlik & Splunk, Qlik Qonnections
 

Recently uploaded

June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 

Chicago meetup sept2019presentation_final

  • 3. Agenda • 6:00PM – Doors open • 6:00PM - 6:30PM – Network, Eat, and Socialize • 6:30PM - 6:40PM – Introductions and Redwood Logistics' Story • 6:40PM - 7:15PM – Logging • 7:15PM - 7:30PM – Future State of Logging • 7:30PM - 7:45PM – Q&A • 7:45PM - 8:00PM – Open Floor, Suggestions for Future Topics and Speakers 3
  • 4. Introductions • About the presenters: • Redwood • Eric Rempel, Chief Innovation Officer • Big Compass • Aaron Lieberman, MuleSoft Practice Manager and Lead Consultant 4
  • 5. More Than Just Logging • Redwood Logistics’ Logging Story • The Importance of Logging • Common Logging Mistakes • MuleSoft Logging With Log4j2 • Logging to Different Target Systems • Gaining Value Out of Logged Data With Redwood • Redwood’s Future State
  • 7. Redwood Logistics’ Transformation • Difficult to Support -> Deep Visibility • Reactive -> Proactive 7
  • 9. Why Log In The First Place? • System visibility • System traceability • Supportability • Debugging 9
  • 10. Common Logging Mistakes • No logging standards • Hard coding • Empty loggers • Beware! CloudHub logs are limited by size • 100MB or 30 days, whichever comes first 10
  • 11. Logging Best Practices • Standards, standards, standards • JSON • Key-value pairs • Other formats • Informative messages • Visibility into the system • Enhance debugging • Before and after external system calls • Request identifier • Trace transaction from end to end • Ability to calculate latency 11
  • 12. Logging Best Practices Continued • Dynamic error messages • Persisting logs to a system • Maintain historical logs • Allows non-technical users to access and support applications • Not too much logging, not too little 12
  • 14. Logging With Log4j2 • MuleSoft logging power unlocked with Log4j2 14
  • 15. How Does Log4j2 Work? 15
  • 16. Architecture - Log4j2 to ELK Stack 16
  • 17. Demo! Logging With Log4j2 and ELK and Gaining Value out of Logged Data
  • 19. Data = POWER! • Logging to a centralized data warehouse allows us to • Gain deep visibility • Expose data to customers securely • Expose data internally • Support any needs from across the business on the core platform • Become a data driven organization 19
  • 21. What Does the Future Hold For Redwood? • Ideal Architecture • Logging Possibilities • Loggly • ELK • Splunk • Griffana • Visualization Tools • Tableau • Looker • Let the Data Drive Decisions • Becoming a data driven organization • Leading to Blockchain in Logistics 21
  • 23. Wrap Up • Contact/Follow Us! • Big Compass • https://www.bigcompass.com • LinkedIn - https://www.linkedin.com/company/big-compass/ • Twitter - https://twitter.com/big_compass • Facebook - https://www.facebook.com/bigcompass/ • Redwood Logistics • https://www.redwoodlogistics.com • LinkedIn - https://www.linkedin.com/company/redwood-logistics-/ • Twitter - https://twitter.com/redwoodlgistics • Facebook - https://www.facebook.com/redwoodlgistics/ • Aaron Lieberman • https://www.linkedin.com/in/aaron-lieberman-8a89bb46/ • Eric Rempel • https://www.linkedin.com/in/ericrempel/ • https://twitter.com/rempel?lang=en 23
  • 24. References and Documentation • Demo Project Code • Logging project code: https://github.com/BigCompass/mulesoft-meetup- logging-demo • Log4j2 • Apache documentation: https://logging.apache.org/log4j/2.x/ • MuleSoft Documentation: https://docs.mulesoft.com/runtime- manager/custom-log-appender • Deploying to CloudHub • Disable CloudHub logging to allow Log4j2 configuration to take over • Documentation: https://docs.mulesoft.com/runtime-manager/custom-log-appender 24
  • 25. What’s Next? • Share: • Share on social media with any pictures with the hashtag #MuleMeetup • Invite your network to join: https://meetups.mulesoft.com/chicago/ • Feedback: • Contact your organizer to suggest topics • Contact MuleSoft at meetup@mulesoft.com for ways to improve the program • Our next meetup: • Date: TBD • Location: TBD • Topic: TBD 25
  • 26. See you next time • Please send topic suggestions to the organizer