A short introduction into the Cloud Native Computing Foundation project Fluentd - Held at the first Cloud Native Computing Meetup in Zurich at 2017-05-11
044 545 53 00 www.vshn.ch /home/tobru Tobias Brunner, Head of DevOps VSHN @tobruzh, [email protected] VSHN AG Since 2014, 18 people in Zürich Running web applications on-premises and in the clouds making both visitors and developers happy https://vshn.ch @vshn_ch
044 545 53 00 www.vshn.ch What is Fluentd? Fluentd moves logs around: • Collect logs from various sources • Ship logs to various sinks 500+ Plugins, small core • Plugins are distributed – no central repo http://www.fluentd.org/plugins/all
044 545 53 00 www.vshn.ch What is Fluentd? Fluent Bit: http://fluentbit.io/ • Lightweight Forwarder: Specifically designed for data forwarding • Written in C
044 545 53 00 www.vshn.ch How does it work? • Declarative Syntax • A Fluentd event consists of a tag, time and record: • tag: Where an event comes from. For message routing • time: When an event happens. Epoch time • record: Actual log content. JSON object
044 545 53 00 www.vshn.ch Use case OpenShift: Central logging / EFK Stack • Collects logs from containers • Ships to Elasticsearch • UI with Kibana • Runs as DaemonSet on all nodes • Mounts needed log directories from host • Parses JSON Logs into fields