The expected behavior in a clustered setup is that logs are aggregated under a single workerId representing the clusterId. This aligns with the current design of log forwarding configured in the Anypoint Monitoring (AM) agent OTEL pipeline.
However, an exception can occur during the initial setup phase:
clusterId may not be properly propagated to all servers.clusterId value in the pipeline configuration may be set to null.serverId instead.This leads to logs being split and displayed under individual serverId values, resulting in multiple worker IDs in Anypoint Monitoring.
Once any server in the cluster is restarted:
clusterId is correctly populated.workerId (cluster-level), which is the expected behavior.This behavior is by design. Aggregating logs at the cluster level is the current standard implementation. The ability to persist log aggregation at individual server levels within a cluster is a feature request, and the Engineering team is actively working on it.
If your use case requires logs to be consistently grouped by individual serverId, the following workaround can be applied.
Note: It is recommended to validate this workaround in lower environments before applying it to production.
Replication Steps:
nodeServer1 and nodeServer2).serverId values.Workaround Steps:
/conf/mule-agent.ymlSet the following value:
id:
clusterId: null
After restart:
serverId will be reflected in:
am/config/pipelines/otel-config.ymlapp.yml files under the same directory (in the workerId field)Important Consideration:
mule-agent.yml file may be overwritten, and the clusterId may be reset from Runtime Manager.serverId.This approach provides a temporary solution until native support for server-level log aggregation within clusters is made available.
005387484

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.