Overview of Logging and Metrics
Page last updated:
This topic provides an overview of logging and metrics in Pivotal Application Service (PAS). It includes information about logs and metrics sources and transport systems. It also lists products for viewing logs and metrics.
There are two sources of PAS logs and metrics:
- PAS platform components, such as a Diego Cell, MySQL Server, or Cloud Controller
- Apps and app containers deployed on PAS
The table below describes the data included in logs and metrics from each source:
|Source||Logs Data||Metrics Data|
|Platform components||Logs from PAS components||
|Apps and app containers||Logs from apps2||
1For more information about using the BOSH Health Monitor to collect health metrics on VMs, see Configuring a Monitoring System.
2For more information about app logging, see App Logging in PAS.
3For more information about container metrics, see Container Metrics.
4For more information about configuring an app to stream custom metrics to Loggregator, see Metric Registrar and Custom App Metrics.
The following transport systems deliver logs and metrics from their source to an observability product for viewing:
Loggregator: Loggregator is the transport system for both logs and metrics on apps deployed on PAS, as well as metrics on PAS platform components. For more information about the Loggregator system, including Loggregator architecture and components, see Overview of the Loggregator System.
rsyslogd on PAS component VMs: rsyslogd is the transport system for PAS component logs. Users can configure rsyslogd to transport component logs to a third-party syslog server.
The table below lists the transport system for logs and metrics on PAS platform components and apps:
|Source||Logs Transport System||Metrics Transport System|
|Platform components||rsyslogd on PAS component VMs||Loggregator|
The table below lists the products and tools for viewing PAS logs and metrics:
|Source||Products and Tools for Viewing Logs||Products and Tools for Viewing Metrics|
|Platform components||To view system logs from PAS components, configure rsyslogd to transport logs to a third-party product.||
You can use the following products or tools to view platform component and VM metrics:
You can use the following products or tools to view app logs:
You can use the following products or tools to view app metrics: