際際滷

際際滷Share a Scribd company logo
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 theres 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 its 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 doesnt 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 Dont 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.
Whats next?
Thank you
Dont forget to provide the
Feedback of this Meetup

More Related Content

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

PPTX
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Eva Mave Ng
PPTX
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
MysoreMuleSoftMeetup
PDF
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
Jitendra Bafna
PPTX
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
BrianFraser29
PPTX
Mule soft indore meetup 2
Pradhan Yash Sharma
PPTX
Cloudhub and Mule
Shanky Gupta
PPTX
Meetup_Bangalore_Rajesh
D.Rajesh Kumar
PPTX
Runtime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptx
Sandeep Deshmukh
PPTX
Lisbon Mulesoft Meetup - Logging Aggregation & Visualization
Steve Michael Fernandes
PDF
MuleSoft Manchester Meetup #2 slides 29th October 2019
Ieva Navickaite
PDF
Cloudhub 2.0
Christopher Co
PPT
Mule cloudhub
D.Rajesh Kumar
PPTX
Meetup milano #4 log management and anypoint advanced monitoring
Gonzalo Marcos Ansoain
PDF
MuleSoft Meetup Singapore March 2019
Julian Douch
PPTX
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Manish Kumar Yadav
PPTX
Deploying and Managing Anypoint Runtime Fabric on OpenShift
Harshana Martin
PPTX
Nyc mule soft_meetup_13_march_2021
NeerajKumar1965
PPT
Cloud hub
himajareddys
PPTX
West Yorkshire Meetup #4
Francis Edwards
PPT
Mule cloudhub application
D.Rajesh Kumar
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Eva Mave Ng
Log4j2 - A deep dive into the logging services in Mulesoft with On-Prem deplo...
MysoreMuleSoftMeetup
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
Jitendra Bafna
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
BrianFraser29
Mule soft indore meetup 2
Pradhan Yash Sharma
Cloudhub and Mule
Shanky Gupta
Meetup_Bangalore_Rajesh
D.Rajesh Kumar
Runtime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptx
Sandeep Deshmukh
Lisbon Mulesoft Meetup - Logging Aggregation & Visualization
Steve Michael Fernandes
MuleSoft Manchester Meetup #2 slides 29th October 2019
Ieva Navickaite
Cloudhub 2.0
Christopher Co
Mule cloudhub
D.Rajesh Kumar
Meetup milano #4 log management and anypoint advanced monitoring
Gonzalo Marcos Ansoain
MuleSoft Meetup Singapore March 2019
Julian Douch
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Manish Kumar Yadav
Deploying and Managing Anypoint Runtime Fabric on OpenShift
Harshana Martin
Nyc mule soft_meetup_13_march_2021
NeerajKumar1965
Cloud hub
himajareddys
West Yorkshire Meetup #4
Francis Edwards
Mule cloudhub application
D.Rajesh Kumar

Recently uploaded (20)

PDF
Performancesonore_verdun_EN.pdf
Pont Samuel-De Champlain Bridge
PDF
models-of-communication reading and writing.pdf
TristanNabong
PPTX
Pastor Bob Stewart Acts 19 06 25 2025.pptx
FamilyWorshipCenterD
PPTX
organic farm Dr Shashi Jain 19.06.2018.pptx
Pratibha Chauhan
PDF
Committee-Skills-Handbook---MUNprep.org.pdf
SatvikAgarwal9
PDF
Jotform Presentation Agents: Use Cases and Examples
Jotform
PDF
SZWDL denim washing and dry washing industry
te20046
PDF
Planning the parliament of the future in greece considerations for a data-d...
Dr. Fotios Fitsilis
DOCX
Dissertation_Antony_Musyoka.docx.for presentation
antonykamile
PDF
Amazon Wholesale Product Research Example
Joseph Juntilla
PPTX
To Live Is For Christ 06 29 2025.pptx
FamilyWorshipCenterD
PDF
Jotform Presentation Agents: Features and Benefits
Jotform
DOC
STABILITY INDICATING METHOD DEVELOPMENT AND VALIDATION FOR SIMULTANEOUS ESTIM...
jmkeans624
PPTX
Pr辿sentation Bruit Verdun - juin 2025_TG_EN_Final.pptx
Pont Samuel-De Champlain Bridge
PDF
Rethinking PublicPrivate Partnerships: From Funding Gaps to Shared Goals
Francois Stepman
PDF
Performancesonore_sudouest_EN.pdf
Pont Samuel-De Champlain Bridge
PPTX
2025-06-29 Abraham 05 (shared slides).pptx
Dale Wells
PPTX
Soft Skills Training for Everybody.pp.pptx
Mayuri Srivastava
PPTX
Pr辿sentation Bruit Sud-Ouest- juin 2025_TG_EN_Final.pptx
Pont Samuel-De Champlain Bridge
DOCX
How Digital Marketplaces are Empowering Emerging MedTech Brands
Ram Gopal Varma
Performancesonore_verdun_EN.pdf
Pont Samuel-De Champlain Bridge
models-of-communication reading and writing.pdf
TristanNabong
Pastor Bob Stewart Acts 19 06 25 2025.pptx
FamilyWorshipCenterD
organic farm Dr Shashi Jain 19.06.2018.pptx
Pratibha Chauhan
Committee-Skills-Handbook---MUNprep.org.pdf
SatvikAgarwal9
Jotform Presentation Agents: Use Cases and Examples
Jotform
SZWDL denim washing and dry washing industry
te20046
Planning the parliament of the future in greece considerations for a data-d...
Dr. Fotios Fitsilis
Dissertation_Antony_Musyoka.docx.for presentation
antonykamile
Amazon Wholesale Product Research Example
Joseph Juntilla
To Live Is For Christ 06 29 2025.pptx
FamilyWorshipCenterD
Jotform Presentation Agents: Features and Benefits
Jotform
STABILITY INDICATING METHOD DEVELOPMENT AND VALIDATION FOR SIMULTANEOUS ESTIM...
jmkeans624
Pr辿sentation Bruit Verdun - juin 2025_TG_EN_Final.pptx
Pont Samuel-De Champlain Bridge
Rethinking PublicPrivate Partnerships: From Funding Gaps to Shared Goals
Francois Stepman
Performancesonore_sudouest_EN.pdf
Pont Samuel-De Champlain Bridge
2025-06-29 Abraham 05 (shared slides).pptx
Dale Wells
Soft Skills Training for Everybody.pp.pptx
Mayuri Srivastava
Pr辿sentation Bruit Sud-Ouest- juin 2025_TG_EN_Final.pptx
Pont Samuel-De Champlain Bridge
How Digital Marketplaces are Empowering Emerging MedTech Brands
Ram Gopal Varma
Ad

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 theres 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 its 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 doesnt 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 Dont 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. Whats next?
  • 29. Thank you Dont forget to provide the Feedback of this Meetup