SlideShare a Scribd company logo
1 of 29
Saturday, July 16th 2022
Princeton, NJ - MuleSoft Meetup
Group
Integrate CloudHub Runtime Manager with External
Logging System - SumoLogic
Organizers

2
Subhas Roy
Sr. MuleSoft Integration Architect
MuleSoft Mentor
Srinivas Reddy Vydugula
Lead MuleSoft Developer
MuleSoft Mentor
Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
3
4
● Introductions
● Integrate CloudHub Runtime Manager with External Logging system - SumoLogic
● Demo
● Q&A session & Networking
● Trivia Quiz
Agenda
5
● This session will be recorded. The recording and slides of this meetup will be made available
to all attendees.
● Please be muted during the speaker presentation.
● Questions can be submitted/asked at any time in the Questions & Answers chat-box.
● At the end of the demo, there will be a Q&A session.
● After all the presentations, there will be a trivia quiz where you will get a chance to win a
training voucher from MuleSoft.
● Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
Housekeeping Rules
6
● Please feel free to volunteer for the future Princeton, NJ meetup speaker.
● What do you expect from these meetups? Please send us an email with your expectations
and we will make sure that the events reflects the same.
● Anything else, just send us an email.
Request to all members
7
● Anypoint platform : anypoint.mulesoft.com
● training.mulesoft.com
● help.mulesoft.com
● Become a Speaker/Leader/Mentor.
About the MuleSoft Community
Speaker
• Sr. MuleSoft Architect at Virtusa.
• MuleSoft Mentor.
• MuleSoft Meetup Leader Princeton, NJ
• https://www.linkedin.com/in/subhas-roy-a9b9401b/
All contents © MuleSoft, LLC
Integrate CloudHub Runtime Manager with
External Logging system - SumoLogic
All contents © MuleSoft, LLC
CloudHub Runtime Manager Integrate with SumoLogic
The goal of this presentation is to integrate Runtime Manager with SumoLogic when you are deploying your
applications to CloudHub.
● SumoLogic is a popular logging management tool. It provides log management and analytics services.
It provides real-time analytics to help rapidly identify and resolve potential issues. SumoLogic
customizable dashboards align teams by visualizing logs, metrics and performance data for full-stack
visibility and reliable delivery. It provides alerts and notification service if there’s an important event or
problem to fix.
● CloudHub runtime manager has a specific log retention policy. The platform stores logs of up to 100 MB
per application and per worker or for up to 30 days, whichever limit is hit first. Once this limit has been
reached, the oldest log information is deleted in chunks and is irretrievably lost.
Log information is normally very useful to investigate any issues that may have occurred at any point in time
in the past. The recommended approach is to implement of an independent log retention strategy to an
external logging system such as SumoLogic using a log appender in MuleSoft CloudHub.
10
All contents © MuleSoft, LLC
SumoLogic Setup
● Create SumoLogic Trial account using link https://www.sumologic.com
11
All contents © MuleSoft, LLC
SumoLogic Setup
● Set up the HTTP source collection using below screen
12
All contents © MuleSoft, LLC
SumoLogic Setup
● Enter the Name and the Source Category as shown below
13
All contents © MuleSoft, LLC
SumoLogic Log Search
● Enter the Name and the Source Category as shown below
14
All contents © MuleSoft, LLC
SumoLogic Log Search
● Enter _sourceCategory configured above in SumoLogic source and search the logs
15
All contents © MuleSoft, LLC
MuleSoft Application
● Create sample MuleSoft application flow. In the below flow, application logs are being logged
using JSON logger.
● JSON Logger GitHub url: https://github.com/mulesoft-consulting/json-logger
16
All contents © MuleSoft, LLC
MuleSoft Application
● Please add the following SumoLogic dependency in pom.xml
● Configure log4j to load the sumologic package in log4j
● Add SumoLogic appender to log4j
Note: "sumologic.server" is the URL (HTTP Source Address URL store above) provided by
Sumologic to send the logging entries to. "sumologic.server". We will use this “sumologic.server”
in our CloudHub Runtime Manager Application property.
17
<dependency>
<groupId>com.sumologic.plugins.log4j</groupId>
<artifactId>sumologic-log4j2-appender</artifactId>
<version>1.13</version>
</dependency>
<Configuration status="info" name="sumologic"
packages="com.mulesoft.ch.logging.appender,com.sumologic.log4j">
<SumoLogicAppender name="SumoAppender" url="${sys:sumologic.server}">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss,SSS Z} [%t] %-5p %c - %m%n"/>
</SumoLogicAppender>
All contents © MuleSoft, LLC
CloudHub Runtime Manager
● Add the “sumologic.server" in the ClouHub Runtime Manager application properties as
shown below:
18
All contents © MuleSoft, LLC
CloudHub Runtime Manager
● After you configure logs to flow to both your log system and CloudHub, disable the default
CloudHub application logs by selecting checkbox “Disable CloudHub Logs”
19
All contents © MuleSoft, LLC
Demo
All contents © MuleSoft, LLC
Limitations?
● MuleSoft enterprise account is required to Disable CloudHub logs. Using MuleSoft trial account it’s not possible to
Disable CloudHub logs.
● If you do not see the Disable CloudHub logs option in Runtime Manager, you can request it on Help Center for
enterprise account.
● MuleSoft Support doesn’t aid with implementing custom logging configurations or resolving issues caused by custom
logging configurations.
● MuleSoft is not responsible for issues arising from misconfiguration of your Log4j appender, including these or other
issues
○ Lost logging data
○ Performance degradation
○ Running out of disk space
● Do not use synchronous log appenders. You can use only asynchronous log appenders.
21
All contents © MuleSoft, LLC
Limitations?
● When you disable CloudHub logs:
○ Only the system logs are available in Runtime Manager.
○ System logs provide the status of your worker deployment and whether your application started correctly, but do
not provide application logs. For application worker logs, check the logging system for your application.
○ You cannot download application worker logs from the Applications > Logs page.
○ CloudHub warns you that logs are not available.
● You cannot forward system logs (mule_ee.log) to external logging solutions the same way as application logs.
22
Q&A session & Networking
Answer the question and win a voucher for MuleSoft training
Trivia Quiz
Go To Mobile Browser
Enter :
Kahoot.it
Enter Your Full Valid Name
(Nick Names are not allowed)
Read the options and Tap the color which
has correct answer.
Winners Don’t forget to share your email Ids
28
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Share in LinkedIn using the hashtag #mulesoftmeetups and #mulesoftcommunity
○ Invite your network to join: https://meetups.mulesoft.com/princeton/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program.
What’s next?
Thank you
Don’t forget to provide the
Feedback of this Meetup

More Related Content

Similar to Princeton-NJ-Meetup-MuleSoft SumoLogic Integration.pptx

Warsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxWarsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxPatryk Bandurski
 
Ahmadabad mule soft_meetup_6march2021_azure_CICD
Ahmadabad mule soft_meetup_6march2021_azure_CICDAhmadabad mule soft_meetup_6march2021_azure_CICD
Ahmadabad mule soft_meetup_6march2021_azure_CICDShekh Muenuddeen
 
Mulesoft AnyyPoint Monitoring for Hybrid Deployment
Mulesoft AnyyPoint Monitoring for Hybrid DeploymentMulesoft AnyyPoint Monitoring for Hybrid Deployment
Mulesoft AnyyPoint Monitoring for Hybrid Deploymentpruthviraj krishnam
 
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare SolutionsUnleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare SolutionsEva Mave Ng
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramAnurag Dwivedi
 
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptxMuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptxAnuragSharma900
 
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...MysoreMuleSoftMeetup
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Princeton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxPrinceton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxsubhas_17
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Eva Mave Ng
 
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDGonzalo Marcos Ansoain
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...Jitendra Bafna
 
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsMuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsJitendra Bafna
 
MuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIsMuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIsRoyston Lobo
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...BrianFraser29
 
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...Big Compass
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAkshata Sawant
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxSteve Clarke
 
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptxAnoopRamachandran13
 

Similar to Princeton-NJ-Meetup-MuleSoft SumoLogic Integration.pptx (20)

Warsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxWarsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptx
 
Ahmadabad mule soft_meetup_6march2021_azure_CICD
Ahmadabad mule soft_meetup_6march2021_azure_CICDAhmadabad mule soft_meetup_6march2021_azure_CICD
Ahmadabad mule soft_meetup_6march2021_azure_CICD
 
Mulesoft AnyyPoint Monitoring for Hybrid Deployment
Mulesoft AnyyPoint Monitoring for Hybrid DeploymentMulesoft AnyyPoint Monitoring for Hybrid Deployment
Mulesoft AnyyPoint Monitoring for Hybrid Deployment
 
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare SolutionsUnleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
 
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptxMuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
MuleSoft_Meetup_Exchange-Nexus-Publish_Asserts.pptx
 
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Princeton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptxPrinceton-NJ-Meetup-RPA.pptx
Princeton-NJ-Meetup-RPA.pptx
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
 
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
 
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsMuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
 
MuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIsMuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIs
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
 
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...
At Last, MuleSoft RPA Revealed - A Quick Guide To Automating Your Business | ...
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
 
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx
#9 Calicut MuleSoft Meetup - Munits in Mule 4.pptx
 

Recently uploaded

CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptxBasil Achie
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...NETWAYS
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Motivation and Theory Maslow and Murray pdf
Motivation and Theory Maslow and Murray pdfMotivation and Theory Maslow and Murray pdf
Motivation and Theory Maslow and Murray pdfakankshagupta7348026
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@vikas rana
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrsaastr
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 

Recently uploaded (20)

CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Motivation and Theory Maslow and Murray pdf
Motivation and Theory Maslow and Murray pdfMotivation and Theory Maslow and Murray pdf
Motivation and Theory Maslow and Murray pdf
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 

Princeton-NJ-Meetup-MuleSoft SumoLogic Integration.pptx

  • 1. Saturday, July 16th 2022 Princeton, NJ - MuleSoft Meetup Group Integrate CloudHub Runtime Manager with External Logging System - SumoLogic
  • 2. Organizers 2 Subhas Roy Sr. MuleSoft Integration Architect MuleSoft Mentor Srinivas Reddy Vydugula Lead MuleSoft Developer MuleSoft Mentor
  • 3. Safe Harbour Statement ● Both the speaker and the host are organizing this meet-up in individual capacity only. We are not representing our companies here. ● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any responsibility that same solution will work for your business requirements. ● This presentation is not meant for any promotional activities. 3
  • 4. 4 ● Introductions ● Integrate CloudHub Runtime Manager with External Logging system - SumoLogic ● Demo ● Q&A session & Networking ● Trivia Quiz Agenda
  • 5. 5 ● This session will be recorded. The recording and slides of this meetup will be made available to all attendees. ● Please be muted during the speaker presentation. ● Questions can be submitted/asked at any time in the Questions & Answers chat-box. ● At the end of the demo, there will be a Q&A session. ● After all the presentations, there will be a trivia quiz where you will get a chance to win a training voucher from MuleSoft. ● Give us feedback! Rate this meetup session by filling feedback form at the end of the day. Housekeeping Rules
  • 6. 6 ● Please feel free to volunteer for the future Princeton, NJ meetup speaker. ● What do you expect from these meetups? Please send us an email with your expectations and we will make sure that the events reflects the same. ● Anything else, just send us an email. Request to all members
  • 7. 7 ● Anypoint platform : anypoint.mulesoft.com ● training.mulesoft.com ● help.mulesoft.com ● Become a Speaker/Leader/Mentor. About the MuleSoft Community
  • 8. Speaker • Sr. MuleSoft Architect at Virtusa. • MuleSoft Mentor. • MuleSoft Meetup Leader Princeton, NJ • https://www.linkedin.com/in/subhas-roy-a9b9401b/
  • 9. All contents © MuleSoft, LLC Integrate CloudHub Runtime Manager with External Logging system - SumoLogic
  • 10. All contents © MuleSoft, LLC CloudHub Runtime Manager Integrate with SumoLogic The goal of this presentation is to integrate Runtime Manager with SumoLogic when you are deploying your applications to CloudHub. ● SumoLogic is a popular logging management tool. It provides log management and analytics services. It provides real-time analytics to help rapidly identify and resolve potential issues. SumoLogic customizable dashboards align teams by visualizing logs, metrics and performance data for full-stack visibility and reliable delivery. It provides alerts and notification service if there’s an important event or problem to fix. ● CloudHub runtime manager has a specific log retention policy. The platform stores logs of up to 100 MB per application and per worker or for up to 30 days, whichever limit is hit first. Once this limit has been reached, the oldest log information is deleted in chunks and is irretrievably lost. Log information is normally very useful to investigate any issues that may have occurred at any point in time in the past. The recommended approach is to implement of an independent log retention strategy to an external logging system such as SumoLogic using a log appender in MuleSoft CloudHub. 10
  • 11. All contents © MuleSoft, LLC SumoLogic Setup ● Create SumoLogic Trial account using link https://www.sumologic.com 11
  • 12. All contents © MuleSoft, LLC SumoLogic Setup ● Set up the HTTP source collection using below screen 12
  • 13. All contents © MuleSoft, LLC SumoLogic Setup ● Enter the Name and the Source Category as shown below 13
  • 14. All contents © MuleSoft, LLC SumoLogic Log Search ● Enter the Name and the Source Category as shown below 14
  • 15. All contents © MuleSoft, LLC SumoLogic Log Search ● Enter _sourceCategory configured above in SumoLogic source and search the logs 15
  • 16. All contents © MuleSoft, LLC MuleSoft Application ● Create sample MuleSoft application flow. In the below flow, application logs are being logged using JSON logger. ● JSON Logger GitHub url: https://github.com/mulesoft-consulting/json-logger 16
  • 17. All contents © MuleSoft, LLC MuleSoft Application ● Please add the following SumoLogic dependency in pom.xml ● Configure log4j to load the sumologic package in log4j ● Add SumoLogic appender to log4j Note: "sumologic.server" is the URL (HTTP Source Address URL store above) provided by Sumologic to send the logging entries to. "sumologic.server". We will use this “sumologic.server” in our CloudHub Runtime Manager Application property. 17 <dependency> <groupId>com.sumologic.plugins.log4j</groupId> <artifactId>sumologic-log4j2-appender</artifactId> <version>1.13</version> </dependency> <Configuration status="info" name="sumologic" packages="com.mulesoft.ch.logging.appender,com.sumologic.log4j"> <SumoLogicAppender name="SumoAppender" url="${sys:sumologic.server}"> <PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss,SSS Z} [%t] %-5p %c - %m%n"/> </SumoLogicAppender>
  • 18. All contents © MuleSoft, LLC CloudHub Runtime Manager ● Add the “sumologic.server" in the ClouHub Runtime Manager application properties as shown below: 18
  • 19. All contents © MuleSoft, LLC CloudHub Runtime Manager ● After you configure logs to flow to both your log system and CloudHub, disable the default CloudHub application logs by selecting checkbox “Disable CloudHub Logs” 19
  • 20. All contents © MuleSoft, LLC Demo
  • 21. All contents © MuleSoft, LLC Limitations? ● MuleSoft enterprise account is required to Disable CloudHub logs. Using MuleSoft trial account it’s not possible to Disable CloudHub logs. ● If you do not see the Disable CloudHub logs option in Runtime Manager, you can request it on Help Center for enterprise account. ● MuleSoft Support doesn’t aid with implementing custom logging configurations or resolving issues caused by custom logging configurations. ● MuleSoft is not responsible for issues arising from misconfiguration of your Log4j appender, including these or other issues ○ Lost logging data ○ Performance degradation ○ Running out of disk space ● Do not use synchronous log appenders. You can use only asynchronous log appenders. 21
  • 22. All contents © MuleSoft, LLC Limitations? ● When you disable CloudHub logs: ○ Only the system logs are available in Runtime Manager. ○ System logs provide the status of your worker deployment and whether your application started correctly, but do not provide application logs. For application worker logs, check the logging system for your application. ○ You cannot download application worker logs from the Applications > Logs page. ○ CloudHub warns you that logs are not available. ● You cannot forward system logs (mule_ee.log) to external logging solutions the same way as application logs. 22
  • 23. Q&A session & Networking
  • 24. Answer the question and win a voucher for MuleSoft training Trivia Quiz
  • 25. Go To Mobile Browser Enter : Kahoot.it Enter Your Full Valid Name (Nick Names are not allowed)
  • 26. Read the options and Tap the color which has correct answer.
  • 27. Winners Don’t forget to share your email Ids
  • 28. 28 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Share in LinkedIn using the hashtag #mulesoftmeetups and #mulesoftcommunity ○ Invite your network to join: https://meetups.mulesoft.com/princeton/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program. What’s next?
  • 29. Thank you Don’t forget to provide the Feedback of this Meetup