Logging and Metrics
Page last updated:
Warning: Pivotal Cloud Foundry (PCF) v2.4 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.
This documentation describes logging and metrics in Cloud Foundry (CF). It includes topics related to monitoring, event logging, CF data sources, and viewing logs and metrics. It also includes information about the Loggregator system, which aggregates and streams logs and metrics from apps and platform components in Pivotal Application Service.
Logging and Metrics
Overview of Logging and Metrics: This topic provides an overview of logging and metrics in CF.
Application Logging in Cloud Foundry: This topic describes log types and their messages. It also explains how to view logs from the cf CLI.
Customizing Platform Log Forwarding: This topic describes how to modify log forwarding rules.
Configuring the Metric Registrar: This topic provides an overview of the Metric Registrar. It also explains how to configure the Metric Registrar for exporting custom app metrics to the Loggregator.
Identifying the Source Deployments of Metrics: This topic describes how to identify which runtime deployment is the source of metrics.
Loggregator Architecture: This topic describes the architecture of the Loggregator system.
Loggregator Guide for Cloud Foundry Operators: The topic provides information about configuring Loggregator to avoid data loss with high volumes of logging and metrics data.
Deploying a Nozzle to the Loggregator Firehose: This topic describes deploying a nozzle application to the Loggregator Firehose.
Installing the Loggregator Firehose Plugin for cf CLI: This topic describes how to use the Loggregator Firehose Plugin for cf CLI to access the output of the Firehose.
For more information about logging, monitoring, and reporting, see the topics below.
Configuring Logging in PAS: This topic describes how to forward system logs to an external service, scale Loggregator component VMs, and manage app traffic logging.
Security Event Logging: This topic describes how to enable and interpret security event logging for the Cloud Controller, the User Account and Authentication (UAA) server, and CredHub.
Monitoring Pivotal Cloud Foundry: This topic describes how operators can monitor their deployments. It includes information about selecting and configuring a monitoring system.
Reporting Instance Usage with Apps Manager: This topic describes how to retrieve app, task, and service instance usage information.
Reporting App, Task, and Service Instance Usage: This topic describes how to use the cf CLI to retrieve system and org level usage information about apps, tasks, and service instances.
Monitoring PCF VMs from Ops Manager: This topic describes how to check current VM status.