March 24, 2017 by Cloud Foundry Training, Training

Logging and Monitoring in Cloud Foundry

Day 1

Topic Description
Setting up
  • Connecting to lab environment
  • Checking app code from Github
  • Pushing app code to Cloud Foundry
Main concepts of logging
  • Why we need logs
  • How we can get it centralized
  • Logging at different levels of deployment stack
Logs in CF
  • How to get logs from:
    system components
    3rd party services
  • Setting up index patterns
  • Logs discovery
  • Visualisation
  • Dashboards
Parsing rules
  • How logstash does parsing
  • Embedded parsing rules
  • Rules customization
Tips and tricks
  • Some tips from our practice
  • Q & A
Main concepts of monitoring
  • Why monitoring is important
  • Why we need metrics
  • Collecting, storing, visualizing, analyzing
Levels of CF stack
  • High level overview of levels:
    Cloud Foundry
    3rd party services
Possible ways of monitoring components described above
  • For each component we will see how it works and how we can monitor it (agents, firehose nozzles, buildpacks, etc)
Setup infrastructure for monitoring
  • Setup Linux server
  • Install time series database
  • Install visualization software
  • Install collecting agent
  • Install firehose nozzle
  • Configure BOSH to forward its metrics
  • Push simple application into CF
Create dashboards
  • Explore available metrics
  • Visualize some simple but useful metrics
What else you can achieve with metrics
  • Useful metrics inside CF and their applications (like capacity planning, troubleshooting, finding performance issues)
Seamless integration into CF
  • How to deploy monitoring solution with BOSH
  • How to deploy agents with BOSH
  • How to use custom buildpacks


© 2001–2019 Altoros