SlideShare a Scribd company logo
1 of 28
Download to read offline
Cloud Foundry
Logging and Metrics
CF Summit 2015
About Us
CloudCredo
The Problem
Component Overview
Loggregator and the Firehose
Loggregator
● Sources, metron, doppler and traffic controller
● Provides `cf logs my-app` functionality
● Allows forwarding to 3rd party syslog drains
● doppler stores data in temporary buffers
● NB: Does not provide long-term storage
● The traffic controller handles client requests
Source: http://github.com/cloudfoundry/loggregator
The Firehose
● The firehose is a relatively new feature
● It’s a stream of every app’s logs, plus metrics
data from Cloud Foundry’s components
● The traffic controllers expose the /firehose
websocket endpoint
● nozzles attach to the firehose, parse out relevant
data and forward it to other 3rd parties (e.g.
syslog and Graphite)
Logs?
Integrating ELK with
Cloud Foundry
logsearch
Integrating ELK with Cloud Foundry
● logsearch
● Packages the ELK stack as a BOSH release
● It’s completely open source and free!
● www.logsearch.io
Integrating ELK with Cloud Foundry
● logsearch-for-cloudfoundry
● Customises logsearch to work with Cloud
Foundry data
● Consumes data from both the firehose and the
syslog component log
● Provides log dashboards for CF developers1
and as CF operators2
[1] https://www.youtube.com/watch?v=M-ODQwm98YM
[2] https://www.youtube.com/watch?v=gWfoHCQUixM
Logsearch Overview
Logsearch Overview
● Ingests logs
● syslog (+tls) and relp
● firehose via logsearch-for-cloudfoundry
Logsearch Overview
● Redis
● Helps to keep the system stable
● Helps to prevent message loss
Logsearch Overview
● Provides filtering and parsing of logs
● Apply your own custom filters
Logsearch Overview
● Provides storage and indexing
Logsearch Overview
● Provides front-end web UI
● Dashboards
● Read-only Elasticsearch API exposed
alongside Kibana
Logsearch Overview
Integrating ELK with Cloud Foundry
● upload bosh releases
○ logsearch-boshrelease
○ logsearch-for-cloudfoundry-boshrelease
● configure properties
○ syslog_daemon_config
○ ingestor_cloudfoundry-firehose
● deploy
○ bosh -n deploy
● cloudfoundry-community/logsearch-boshworkspace
Integrating ELK with Cloud Foundry
● Why should you choose
logsearch?
● It’s open source
● Extracts the complexity
of managing the ELK
stack
● Easy to scale
Metrics?
Integrating Graphite
with Cloud Foundry
Graphite historian and graphite-nozzle
Integrating Graphite with Cloud Foundry
● Approach 1 - Using the collector
● An optional Cloud Foundry component
● Soon to be deprecated in favour of the firehose
● Queries CF components’ /healthz and /varz
endpoints
● Provides a Graphite historian to send data to
Graphite
Integrating Graphite with Cloud Foundry
properties:
collector:
use_graphite: true
graphite:
address: <IP address of Graphite server>
port: 2003
Integrating Graphite with Cloud Foundry
● Approach 2 - Using graphite-nozzle
● Attaches to the firehose and extracts metrics
Events
● Parses the metrics Events into a format that can
be sent to StatsD
● Available on the CloudCredo Github page
Goodbye!
Thank you for listening
Colin Humphreys @hatofmonkeys
Ed King @edking2
@CloudCredo

More Related Content

What's hot

What's hot (20)

Fluent Bit
Fluent BitFluent Bit
Fluent Bit
 
A Close Look at ARM Code Size
A Close Look at ARM Code SizeA Close Look at ARM Code Size
A Close Look at ARM Code Size
 
Fluent Bit: Log Forwarding at Scale
Fluent Bit: Log Forwarding at ScaleFluent Bit: Log Forwarding at Scale
Fluent Bit: Log Forwarding at Scale
 
Introduction to IoT.JS
Introduction to IoT.JSIntroduction to IoT.JS
Introduction to IoT.JS
 
Log forwarding at Scale
Log forwarding at ScaleLog forwarding at Scale
Log forwarding at Scale
 
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGIEuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
 
Perl ウェブ開発の中世〜CGI と Plack の間〜
Perl ウェブ開発の中世〜CGI と Plack の間〜Perl ウェブ開発の中世〜CGI と Plack の間〜
Perl ウェブ開発の中世〜CGI と Plack の間〜
 
Run Go applications on Pico using TinyGo
Run Go applications on Pico using TinyGo Run Go applications on Pico using TinyGo
Run Go applications on Pico using TinyGo
 
BKK16-215 kernelci.org: beyond boot testing
BKK16-215 kernelci.org: beyond boot testingBKK16-215 kernelci.org: beyond boot testing
BKK16-215 kernelci.org: beyond boot testing
 
働きやすい社内を目指す!二酸化炭素計測ツール
働きやすい社内を目指す!二酸化炭素計測ツール働きやすい社内を目指す!二酸化炭素計測ツール
働きやすい社内を目指す!二酸化炭素計測ツール
 
Machinekit - Machinekit Basics Workshop
Machinekit - Machinekit Basics WorkshopMachinekit - Machinekit Basics Workshop
Machinekit - Machinekit Basics Workshop
 
Docker to the Rescue of an Ops Team
Docker to the Rescue of an Ops TeamDocker to the Rescue of an Ops Team
Docker to the Rescue of an Ops Team
 
Machinekit - Build Real Time Systems with Python
Machinekit - Build Real Time Systems with PythonMachinekit - Build Real Time Systems with Python
Machinekit - Build Real Time Systems with Python
 
Atmosphere packages and the chuck norris effect
Atmosphere packages and the chuck norris effectAtmosphere packages and the chuck norris effect
Atmosphere packages and the chuck norris effect
 
202107 - Orion introduction - COSCUP
202107 - Orion introduction - COSCUP202107 - Orion introduction - COSCUP
202107 - Orion introduction - COSCUP
 
Traefik on Kubernetes at MySocialApp (CNCF Paris Meetup)
Traefik on Kubernetes at MySocialApp (CNCF Paris Meetup)Traefik on Kubernetes at MySocialApp (CNCF Paris Meetup)
Traefik on Kubernetes at MySocialApp (CNCF Paris Meetup)
 
Summit 16: ARM Mini-Summit - OpenFastPath is Open and Fast - Nokia
Summit 16: ARM Mini-Summit - OpenFastPath is Open and Fast - NokiaSummit 16: ARM Mini-Summit - OpenFastPath is Open and Fast - Nokia
Summit 16: ARM Mini-Summit - OpenFastPath is Open and Fast - Nokia
 
A deep dive into libuv
A deep dive into libuvA deep dive into libuv
A deep dive into libuv
 
"fireap" - fast task runner on consul
"fireap" - fast task runner on consul"fireap" - fast task runner on consul
"fireap" - fast task runner on consul
 
BKK16-102 Creating new workload for Workload Automation & using WA with LAVA
BKK16-102 Creating new workload for Workload Automation & using WA with LAVABKK16-102 Creating new workload for Workload Automation & using WA with LAVA
BKK16-102 Creating new workload for Workload Automation & using WA with LAVA
 

Viewers also liked

Software Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based ArchitecturesSoftware Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based Architectures
Angelos Kapsimanis
 
Performance Pack
Performance PackPerformance Pack
Performance Pack
day
 

Viewers also liked (20)

Kelompok 2
Kelompok 2Kelompok 2
Kelompok 2
 
AWS + Puppet = Dynamic Scale
AWS + Puppet = Dynamic ScaleAWS + Puppet = Dynamic Scale
AWS + Puppet = Dynamic Scale
 
Gartner 2017 London: How to re-invent your IT Architecture?
Gartner 2017 London: How to re-invent your IT Architecture?Gartner 2017 London: How to re-invent your IT Architecture?
Gartner 2017 London: How to re-invent your IT Architecture?
 
Verwondering...
Verwondering...Verwondering...
Verwondering...
 
Astricon 2016 - Scaling ARI and Production
Astricon 2016 - Scaling ARI and ProductionAstricon 2016 - Scaling ARI and Production
Astricon 2016 - Scaling ARI and Production
 
Business selectors
Business selectorsBusiness selectors
Business selectors
 
Software Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based ArchitecturesSoftware Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based Architectures
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Fostering a Culture of Analytics
Fostering a Culture of AnalyticsFostering a Culture of Analytics
Fostering a Culture of Analytics
 
Reversing malware analysis training part2 introduction to windows internals
Reversing malware analysis training part2 introduction to windows internalsReversing malware analysis training part2 introduction to windows internals
Reversing malware analysis training part2 introduction to windows internals
 
e-Extortion Trends and Defense
e-Extortion Trends and Defensee-Extortion Trends and Defense
e-Extortion Trends and Defense
 
Performance Pack
Performance PackPerformance Pack
Performance Pack
 
Catálogo 15 16 elksport
Catálogo 15 16 elksportCatálogo 15 16 elksport
Catálogo 15 16 elksport
 
Hunting powerpoint
Hunting powerpointHunting powerpoint
Hunting powerpoint
 
API Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation ExperienceAPI Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation Experience
 
CV
CVCV
CV
 
Reproducible Science with Python
Reproducible Science with PythonReproducible Science with Python
Reproducible Science with Python
 
Orchestrating Docker in production - TIAD Camp Docker
Orchestrating Docker in production - TIAD Camp DockerOrchestrating Docker in production - TIAD Camp Docker
Orchestrating Docker in production - TIAD Camp Docker
 
Heelal
HeelalHeelal
Heelal
 
The Lost Tales of Platform Design (February 2017)
The Lost Tales of Platform Design (February 2017)The Lost Tales of Platform Design (February 2017)
The Lost Tales of Platform Design (February 2017)
 

Similar to Cloud Foundry Logging and Metrics

Similar to Cloud Foundry Logging and Metrics (20)

FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge ComputingFIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
 
Introduction to Flink Streaming
Introduction to Flink StreamingIntroduction to Flink Streaming
Introduction to Flink Streaming
 
Linking Metrics to Logs using Loki
Linking Metrics to Logs using LokiLinking Metrics to Logs using Loki
Linking Metrics to Logs using Loki
 
Linking Metrics to Logs using Loki
Linking Metrics to Logs using LokiLinking Metrics to Logs using Loki
Linking Metrics to Logs using Loki
 
Upcoming features in Airflow 2
Upcoming features in Airflow 2Upcoming features in Airflow 2
Upcoming features in Airflow 2
 
Flamingo: Expand ArgoCD with Flux (Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)Flamingo: Expand ArgoCD with Flux (Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
 
Serverless Boston @ Oracle Meetup
Serverless Boston @ Oracle MeetupServerless Boston @ Oracle Meetup
Serverless Boston @ Oracle Meetup
 
The Fn Project by Jesse Butler
 The Fn Project by Jesse Butler The Fn Project by Jesse Butler
The Fn Project by Jesse Butler
 
DBCC 2021 - FLiP Stack for Cloud Data Lakes
DBCC 2021 - FLiP Stack for Cloud Data LakesDBCC 2021 - FLiP Stack for Cloud Data Lakes
DBCC 2021 - FLiP Stack for Cloud Data Lakes
 
Logging in The World of DevOps
Logging in The World of DevOps Logging in The World of DevOps
Logging in The World of DevOps
 
Getting started with Loki on GKE
Getting started with Loki on GKEGetting started with Loki on GKE
Getting started with Loki on GKE
 
Introduction to Apache Flink
Introduction to Apache FlinkIntroduction to Apache Flink
Introduction to Apache Flink
 
Monitoring.pptx
Monitoring.pptxMonitoring.pptx
Monitoring.pptx
 
Unify logz with fluentd
Unify logz with fluentdUnify logz with fluentd
Unify logz with fluentd
 
The Fn Project: A Quick Introduction (December 2017)
The Fn Project: A Quick Introduction (December 2017)The Fn Project: A Quick Introduction (December 2017)
The Fn Project: A Quick Introduction (December 2017)
 
KubeCon 2022 EU Flux Security.pdf
KubeCon 2022 EU Flux Security.pdfKubeCon 2022 EU Flux Security.pdf
KubeCon 2022 EU Flux Security.pdf
 
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
 
Is 12 Factor App Right About Logging
Is 12 Factor App Right About LoggingIs 12 Factor App Right About Logging
Is 12 Factor App Right About Logging
 
cLoki: Like Loki but for ClickHouse
cLoki: Like Loki but for ClickHousecLoki: Like Loki but for ClickHouse
cLoki: Like Loki but for ClickHouse
 
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Cloud Foundry Logging and Metrics

  • 1. Cloud Foundry Logging and Metrics CF Summit 2015
  • 5. Loggregator ● Sources, metron, doppler and traffic controller ● Provides `cf logs my-app` functionality ● Allows forwarding to 3rd party syslog drains ● doppler stores data in temporary buffers ● NB: Does not provide long-term storage ● The traffic controller handles client requests
  • 7. The Firehose ● The firehose is a relatively new feature ● It’s a stream of every app’s logs, plus metrics data from Cloud Foundry’s components ● The traffic controllers expose the /firehose websocket endpoint ● nozzles attach to the firehose, parse out relevant data and forward it to other 3rd parties (e.g. syslog and Graphite)
  • 9. Integrating ELK with Cloud Foundry logsearch
  • 10. Integrating ELK with Cloud Foundry ● logsearch ● Packages the ELK stack as a BOSH release ● It’s completely open source and free! ● www.logsearch.io
  • 11. Integrating ELK with Cloud Foundry ● logsearch-for-cloudfoundry ● Customises logsearch to work with Cloud Foundry data ● Consumes data from both the firehose and the syslog component log ● Provides log dashboards for CF developers1 and as CF operators2 [1] https://www.youtube.com/watch?v=M-ODQwm98YM [2] https://www.youtube.com/watch?v=gWfoHCQUixM
  • 12.
  • 14. Logsearch Overview ● Ingests logs ● syslog (+tls) and relp ● firehose via logsearch-for-cloudfoundry
  • 15. Logsearch Overview ● Redis ● Helps to keep the system stable ● Helps to prevent message loss
  • 16. Logsearch Overview ● Provides filtering and parsing of logs ● Apply your own custom filters
  • 17. Logsearch Overview ● Provides storage and indexing
  • 18. Logsearch Overview ● Provides front-end web UI ● Dashboards ● Read-only Elasticsearch API exposed alongside Kibana
  • 20. Integrating ELK with Cloud Foundry ● upload bosh releases ○ logsearch-boshrelease ○ logsearch-for-cloudfoundry-boshrelease ● configure properties ○ syslog_daemon_config ○ ingestor_cloudfoundry-firehose ● deploy ○ bosh -n deploy ● cloudfoundry-community/logsearch-boshworkspace
  • 21. Integrating ELK with Cloud Foundry ● Why should you choose logsearch? ● It’s open source ● Extracts the complexity of managing the ELK stack ● Easy to scale
  • 23. Integrating Graphite with Cloud Foundry Graphite historian and graphite-nozzle
  • 24. Integrating Graphite with Cloud Foundry ● Approach 1 - Using the collector ● An optional Cloud Foundry component ● Soon to be deprecated in favour of the firehose ● Queries CF components’ /healthz and /varz endpoints ● Provides a Graphite historian to send data to Graphite
  • 25. Integrating Graphite with Cloud Foundry properties: collector: use_graphite: true graphite: address: <IP address of Graphite server> port: 2003
  • 26. Integrating Graphite with Cloud Foundry ● Approach 2 - Using graphite-nozzle ● Attaches to the firehose and extracts metrics Events ● Parses the metrics Events into a format that can be sent to StatsD ● Available on the CloudCredo Github page
  • 27.
  • 28. Goodbye! Thank you for listening Colin Humphreys @hatofmonkeys Ed King @edking2 @CloudCredo