cloud foundry cf logs stack

10
CFLOGS bosh release (LT) Etourneau Gwenn @The_Shinji62

Upload: gwenn-etourneau

Post on 21-Jan-2018

76 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Cloud Foundry CF LOGS stack

background image: 960x540 pixels - send to back of slide and set to 80% transparency

CFLOGS bosh release (LT)Etourneau Gwenn@The_Shinji62

Page 2: Cloud Foundry CF LOGS stack

Me ….

Etourneau Gwenn

Senior Solution Architect @Pivotal (Cloud Foundry Superman)

https://twitter.com/the_shinji62

L,,, https://github.com/shinji62

Page 3: Cloud Foundry CF LOGS stack

Cloud Foundry logging stack

3

Page 4: Cloud Foundry CF LOGS stack

4

Almost no bufferIn memory buffer If not consume fast enough you lose logs.

You lose LOGS

Cloud Foundry logging stack

Syslog

Page 5: Cloud Foundry CF LOGS stack

5

KAFKA

Syslog

Cloud Foundry logging stack

Page 6: Cloud Foundry CF LOGS stack

Why Kafka ?

6

● Kafka ‒ Can ingest million of logs by second‒ Persistency‒ More easy to consume‒ A lot of community around Kafka

Losing logs is still possible

No real 100% no loss solution but this should help

Page 7: Cloud Foundry CF LOGS stack

CF logs

7

● One command deploy bosh deploy● Release including

‒ KAFKA‒ Firehose kafka nozzle (fork from the Rakuten one)‒ Kafka-manager‒ CF syslog forwarder

Page 8: Cloud Foundry CF LOGS stack

CF logs

8

● Create a kafka topic for every events type‒ LogMessage, ValueMetrics and so on ..

● Forwarder to syslog is included ‒ Can forward to any syslog endpoint‒ Include Apps info. Org etc ..

Page 9: Cloud Foundry CF LOGS stack

CF logs Bosh release

9

https://github.com/shinji62/cflogs-boshrelease

Page 10: Cloud Foundry CF LOGS stack