Automatic Log Forwarding from Elastic Application Runtime (EAR) to Tanzu Hub
search cancel

Automatic Log Forwarding from Elastic Application Runtime (EAR) to Tanzu Hub

book

Article ID: 438751

calendar_today

Updated On:

Products

VMware Tanzu Platform Core

Issue/Introduction

In Tanzu Hub v10.4 you can now receive all logs form the EAR platform using OTEL collector. This can be achieved by utilising Platform Services  tile. The "All Logs" setting in the Platform Services Connector is designed to orchestrate the telemetry pipeline, but because EAR 10.4+ uses a node-level OTel collector, the configuration must be materialized through the platform's standard deployment process.

Environment

VMware Tanzu Platform - Cloud Foundry / Elastic Application Runtime v10.4 

Tanzu Hub v10.4

Resolution

Setting the "automatic forwarding" option to All Logs in the Platform Services 10.4 Tile Connector will automatically configure the OTel section of the EAR tile to forward platform logs to Tanzu Hub. Steps on how to set this up are described in the doc https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/tanzu-hub/10-4/tnz-hub/monitoring-log-forwarding-platform-logs.html#:~:text=Elastic%20Application%20Runtime%2010.4%20and%20later 

Note: Changes to OTel configurations in the EAR tile are not dynamic and require a redeploy of the affected VMs (such as Diego Cells) to update the OTel collector's local configuration files.