DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Create Proxy Application for Mule APIs
  • Create Custom DataWeave Functions in Mule 4
  • MuleSoft: Do You Have an Extra Mule Under the Hood?
  • MuleSoft: Tactical and Strategical Role of an Application Template

Trending

  • Migrate a Hardcoded LangGraph Agent to LaunchDarkly AI Configs in 20 Minutes
  • Stop Debugging Glue Jobs Manually: Building an Agentic Observability Layer for Data Pipelines
  • Observability for Agents and Workflows: Tracing Prompts, Tool Calls, and Business Outcomes End-to-End
  • When One MVP Is Really Four Systems: A Better Way to Plan Multi-Role Apps
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Publish Sysylog and Application Logs From MuleSoft Runtime Fabric to GrayLog

Publish Sysylog and Application Logs From MuleSoft Runtime Fabric to GrayLog

In this article, see how to publish Syslog and application logs from MuleSoft Runtime Fabric to Graylog.

By 
Sadik Ali user avatar
Sadik Ali
·
Jan. 30, 21 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
8.9K Views

Join the DZone community and get the full member experience.

Join For Free

Agenda

General practice to verify logs in RTF

  • View Logs from an Application using Ops Center.
  • By Forwarding logs to External Analytical tool (Demo GrayLog).
  • Configure SysLog in log forward in RTF to send logs to external tool.

View Logs from an Application using Ops Center

Ops Center presents a current of logs produced by applications and services operating on Runtime Fabric on VMs / Bare Metal. This is beneficial when log forwarding is not configured.

  1. From Ops Center, navigate to Logging
  2. Select Kubernetes
  3. Select the Pods tab
  4. In the drop-down list adjacent to the search input area, select the ID of the environment where the application is deployed.
  5. Locate the pod name that starts with the name of your application
  6. Select that pod name and then select Logs. As in the below snapshot


By Forwarding logs to External Analytical tool (Demo GrayLog)

  • Runtime Fabric on VMs / Bare Metal supports log forwarding to:

    • Anypoint Monitoring

    • Third-party logging solutions using log forwarding output plugins:

    • Azure Log Analytics

    • Elasticsearch

    • Graylog Extended Log Format (GELF)

    • Splunk

    • CloudWatch

  • Only one external log forwarding configuration is supported at any one time. Nevertheless, we can configure Anypoint log forwarding and an external log forwarding service at the same time.

  • External log forwarding does not currently support proxies that are configured for a Runtime Fabric cluster. You must explicitly configure firewall rules to allow the outbound IP address and port of the external log forwarding service.

    Configuration can be done in Log forwarding of Runtime Fabric 


             Configuration done in GrayLog to accept log input from Runtime Fabric

 

Log can be monitored in DashBoard/Alert in GrayLog.


Send Syslog from MuleSoft RTF to GrayLog


application MuleSoft

Opinions expressed by DZone contributors are their own.

Related

  • Create Proxy Application for Mule APIs
  • Create Custom DataWeave Functions in Mule 4
  • MuleSoft: Do You Have an Extra Mule Under the Hood?
  • MuleSoft: Tactical and Strategical Role of an Application Template

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook