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
Newsletter
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

  • Member Spotlight: Raghava Dittakavi
  • From Issue to Reviewable Patch: Build a Sandboxed Coding Agent With Deep Agents and Automated Tests
  • AI-Assisted Product Discovery
  • Modernizing a Legacy Java Application With OpenRewrite: What We Automated and What We Didn't

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  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
·
Jan. 30, 21 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
9.1K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

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

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • 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