---
title: Prerequisites for Nodinite Mule ESB Logging Agent – Requirements & Best Practices
description: Discover the essential prerequisites for enabling logging from Mule ESB flows with Nodinite. Learn about agent requirements, supported platforms, user rights, firewall settings, and best practices for seamless integration.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/9):

# :fa-square-plus: Prerequisites for the Nodinite Mule ESB Logging agent

>Unlock seamless integration and powerful monitoring by preparing your environment for the :Nodinite: [Mule ESB Logging Agent][]. This guide covers everything you need for a successful installation and for flow logging from your Mule applications.

<div class="mermaid">
graph LR
    subgraph "Nodinite Instance"
        roNI(fal:fa-monitor-waveform Mule ESB Logging Agent)
    end
    subgraph "Anypoint instances in the cloud"
        roCloudhubAPI(fal:fa-cloud Cloudhub API)-->roIS(fal:fa-database Internal storage)
        roNI --> | API | roCloudhubAPI  
        roFlow2(fal:fa-sitemap Flow) --> | Log4J | roIS  
    end
    subgraph "Mule ESB instance on-premise"
        roFolder(fal:fa-folder Folder)
       roNI --> | SMB | roFolder  
        roFlow(fal:fa-sitemap Flow) --> | Log4J | roFolder  
    end
</div>  
*Architecture overview: The Nodinite Mule ESB Logging Agent supports both on-premise and cloud-based MuleSoft environments.*  

>We recommend installing this agent close to your :Nodinite: [Core Services][]. This documentation covers local network setup (usually on the :Nodinite: application server).

|Verified|Topic|  
|:---:|---|  
|:fa-square:|:fa-box-check: [Software Requirements](#fa-box-check-software-requirements)|  
|:fa-square:|:fa-folder: [What folder rights does the Mule ESB Logging Agent require?](#fa-folder-what-folder-rights-does-the-mule-esb-logging-agent-require)|  
|:fa-square:|:fa-cloud: [What Anypoint Cloudhub rights does the Mule ESB Logging Agent require?](#fa-cloud-what-anypoint-cloudhub-rights-does-the-mule-esb-logging-agent-require)|  
|:fa-square:|:fab fa-windows: [What Windows User Rights does the Mule ESB Logging Agent require?](#what-windows-user-rights-does-the-mule-esb-logging-agent-require)|  
|:fa-square:|:fa-shield-check: [What Firewall settings are required for the Mule ESB Logging Agent?](#fa-shield-check-what-firewall-settings-are-required-for-the-mule-esb-logging-agent)|  

## :fa-box-check: Software Requirements

The [Mule ESB Logging Agent][] is a Windows Service and is usually installed on the :Nodinite: application server.

|Product||  
|---|---|  
|:fab fa-windows: [Windows Server][]|Windows 2025<br/>Windows 2022<br/>Windows 2019<br/>Windows 2016<br/>Windows 2012 R2<br/>Windows 2012|  
|:fa-file-prescription: .NET Framework|.NET Framework 4.5 or later|  

### :fa-arrows-alt: Supported Versions

Cloud technologies evolve rapidly, and MuleSoft deprecates older API versions regularly. :Nodinite: always supports the APIs supported by MuleSoft. Update :Nodinite: and the [Mule ESB Logging Agent][] as needed to stay current.

>:fa-file-alt: Subscribe to our [Release Notes][] to stay informed about updates.

## :fa-folder: What folder rights does the Mule ESB Logging Agent require?

If you use Mule ESB on-premise with the Log4J file appender, logged events are created on local disk or a Windows File share (SMB).  
The [Mule ESB Logging Agent][] must have **Read**, **Write**, and **Change** permissions to consume these events.

## :fa-cloud: What Anypoint Cloudhub rights does the Mule ESB Logging Agent require?

* The agent uses the MuleSoft Anypoint [Cloudhub API][cloudhub-api] to read logged events with tracked properties. Grant the agent the necessary access rights as described in the [Configuration][].

## :fab fa-windows: What Windows User Rights does the Mule ESB Logging Agent require? {#what-windows-user-rights-does-the-mule-esb-logging-agent-require}

The agent is installed as a **Windows Service**, usually on the :Nodinite: application server. Virtual machines are supported.

* Use a local named account or domain account (preferred).
* Access and run-time rights:
  * Follow the '[How to set logon as a Windows service right][How to set Logon as a Service right]' user guide for detailed instructions.

## :fa-shield-check: What Firewall settings are required for the Mule ESB Logging Agent?

Where you install the :Nodinite: [Mule ESB Logging Agent][] in relation to the :Nodinite: [Log API][], your on-premise Mule ESB log folders, and the Anypoint Platform determines your firewall configuration. The agent is a Windows Service that only opens outbound connections; the :Nodinite: [Monitoring Service][] never calls it. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roLogAPI(fa:fa-cloud-arrow-down Log API)
    end
    subgraph "Nodinite Agent Server"
        roNI(fa:fa-monitor-waveform Mule ESB Logging Agent)
    end
    subgraph "Target: Mule ESB Server (on-premise)"
        roFolder(fa:fa-folder Log folder or SMB file share)
    end
    subgraph "Target: Anypoint Platform (CloudHub)"
        roCloudhubAPI(fa:fa-cloud CloudHub API)
    end
    subgraph "Domain Controller"
        roDC(fa:fa-building-shield Active Directory)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    roNI --> |"445, 135-139"| roFolder
    roNI --> |"443"| roCloudhubAPI
    roNI --> |"Log API site port"| roLogAPI
    roNI --> |"88, 389, 636"| roDC
    roNI --> |"53"| roDNS
</div>

*Network diagram: the agent reads Log4J files from on-premise Mule servers over SMB and logged events from the CloudHub API, then posts [Log Events][] to the Log API.*

>[!NOTE]
>When the agent runs on the Core Services Server (the typical installation), you need no firewall rule between the agent and the [Log API][].

### Between the Mule ESB Logging Agent and the Mule ESB servers

Required for on-premise Mule ESB. The agent reads the Log4J log files from a local folder or an SMB file share on each Mule server.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (Mule ESB Server)|TCP|445|Direct-hosted SMB traffic|SMB 2.0 and 3.0 (recommended)|  
|Outbound|Agent Server|Target (Mule ESB Server)|TCP/UDP|135-139|Microsoft file sharing (NetBIOS)|Legacy SMB 1.0/CIFS only; consider disabling SMB 1.0|  
|Inbound|Target (Mule ESB Server)|Agent Server|TCP/UDP|135-139, 445|Response traffic|Automatically allowed by stateful firewall inspection|  

>[!TIP]
>Grant the agent's service account **Read** permissions on the Mule ESB log folders. See [File and printer sharing ports](https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements#file-and-printer-sharing)<sup>:fa-arrow-up-right-from-square:</sup> and [Internet firewalls can prevent browsing and file sharing](https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/internet-firewalls-prevent-browsing-file-sharing)<sup>:fa-arrow-up-right-from-square:</sup>.

### Between the Mule ESB Logging Agent and the Domain Controller

Required when the agent reads SMB file shares with a domain account.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|88|Kerberos authentication|Required for domain authentication|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|389|LDAP|Standard LDAP queries|  
|Outbound|Agent Server|Domain Controller|TCP|636|LDAPS (Secure LDAP)|Required for LDAPS authentication or querying certificates from AD|  

### Between the Mule ESB Logging Agent and the CloudHub API

Required for CloudHub. The agent reads logged events with tracked properties from the [CloudHub API][cloudhub-api]. All traffic is outbound HTTPS; MuleSoft needs no inbound rule. Allow the hostname of your control plane, as listed in [Anypoint Platform hostnames and allowlists](https://docs.mulesoft.com/control-planes/control-plane-hostnames-allowlists)<sup>:fa-arrow-up-right-from-square:</sup>.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (Anypoint Platform, `anypoint.mulesoft.com`)|TCP (HTTPS)|443|CloudHub API calls|US control plane (default)|  
|Outbound|Agent Server|Target (Anypoint Platform, `eu1.anypoint.mulesoft.com`)|TCP (HTTPS)|443|CloudHub API calls|EU control plane|  
|Outbound|Agent Server|Target (Anypoint Platform, `gov.anypoint.mulesoft.com`)|TCP (HTTPS)|443|CloudHub API calls|US Government control plane|  
|Inbound|Target (Anypoint Platform)|Agent Server|TCP|443|Response traffic|Automatically allowed by stateful firewall inspection|  

>[!TIP]
>The account needs rights to read logged events and tracked properties; see [Configuration][]. For hybrid landscapes (on-premise and CloudHub), open both the SMB and the CloudHub hops.

### Between the Mule ESB Logging Agent and the Log API

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Core Services Server|TCP (HTTPS/HTTP)|Log API site port|Post Log Events to the [Log API][]|v7. The Log API is its own [IIS][] web site; port set per environment in the Portal ([Servers step][]). Use HTTPS when the agent and the Log API are on different servers. Match the `LogAPI` address in the [Configuration][]|  

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Mule servers, the Anypoint hostnames, the Domain Controller, and the Core Services Server. A local `hosts` file can replace DNS|  

>[!IMPORTANT]
>**Stateful Firewalls**: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.

___

## :fa-question: Frequently asked questions

Find solutions to common problems and FAQs for the :Nodinite: [Mule ESB Logging Agent][] in the [Troubleshooting][] user guide.

### About Mule ESB

* Anypoint Studio 6 requires [Java8](https://adoptium.net/)<sup>:fa-arrow-up-right-from-square:</sup>

## :fa-hand-point-right: Next Steps

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-rocket: [Install the Mule ESB Logging Agent][Install]  

## :fa-link-horizontal: Related Topics

:fa-gears: [Administration][]  
:fa-monitor-waveform: [Monitoring Agents][]  

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Administration]:{ndr}/Administration/Overview.md
[cloudhub-api]:https://docs.mulesoft.com/cloudhub/cloudhub-api
[Configuration]:{ndr}/Logging%20and%20Monitoring/MuleSoft%20-%20AnyPoint%20Platform%20-%20Logging/Getting%20started/3.%20Configuration.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[How to set Logon as a Service right]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[IIS]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/IIS.md
[Install]:{ndr}/Logging%20and%20Monitoring/MuleSoft%20-%20AnyPoint%20Platform%20-%20Logging/Getting%20started/2.%20Install.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Events]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Mule ESB Logging Agent]:{ndr}/Logging%20and%20Monitoring/MuleSoft%20-%20AnyPoint%20Platform%20-%20Logging/Overview.md
[Release Notes]:https://portal.nodinite.com/marketplace/9
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/MuleSoft%20-%20AnyPoint%20Platform%20-%20Logging/Troubleshooting/Overview.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md