collect cloud foundry app logs with fluentd

10
CloudFoundry JP Special Meetup Collect Cloud Foundry App Logs with Fluentd Katsunori Kawaguchi @hamakn 2012-02-15

Upload: katsunori-kawaguchi

Post on 28-May-2015

3.426 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Collect Cloud Foundry App Logs with Fluentd

CloudFoundry JP Special Meetup

Collect Cloud Foundry App Logs

with Fluentd

Katsunori Kawaguchi @hamakn

2012-02-15

Page 2: Collect Cloud Foundry App Logs with Fluentd

I develop a new feature to collect application logs

into VCAP.

This is the first demo.

Page 3: Collect Cloud Foundry App Logs with Fluentd

@hamakn

• Katsunori Kawaguchi

• Work for NTT Communications

• Application Engineer && Rails Programmer

• Posted 2 small pull request for VCAP

– #146, #159

Page 4: Collect Cloud Foundry App Logs with Fluentd

Problems

• vcap doesn’t collect app logs

–delete them after droplet moved

• vmc logs and files commands

1. doesn’t support “tail”

2. needs to specify instance id

Page 5: Collect Cloud Foundry App Logs with Fluentd

DEMO!!

• $ vmc logs -f <appname>

• $ vmc files –f <appname> <filename>

Page 6: Collect Cloud Foundry App Logs with Fluentd

DEMO screenshots

Page 7: Collect Cloud Foundry App Logs with Fluentd

DEMO screenshots (vcap environment)

Page 8: Collect Cloud Foundry App Logs with Fluentd

DEMO screenshots (testapp)

https://github.com/dannymcc/Support-System thx!!

Page 9: Collect Cloud Foundry App Logs with Fluentd

Architecture

Page 10: Collect Cloud Foundry App Logs with Fluentd

Thank You!!