Download - OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Transcript
Page 1: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring with syslog-ng, Riemann and Kibana

@algernoone @balabit

Page 2: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

Page 3: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

Page 4: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

Page 5: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

– (Commercial offering since 2007)

Page 6: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

– (Commercial offering since 2007)● Collects, parses, filters, transforms, transfers events

Page 7: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

– (Commercial offering since 2007)● Collects, parses, filters, transforms, transfers events

● Wide variety of plugins

Page 8: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

– (Commercial offering since 2007)● Collects, parses, filters, transforms, transfers events

● Wide variety of plugins

● A sizable, helpful and very inclusive community

Page 9: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Riemann

Page 10: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Riemann

● Riemann monitors distributed systems

Page 11: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Riemann

● Riemann monitors distributed systems

● Event aggregator with a powerful stream processing language

Page 12: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Riemann

● Riemann monitors distributed systems

● Event aggregator with a powerful stream processing language

● Provides a low-latency, transient shared state

Page 13: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Kibana

Page 14: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Kibana

● Visualize logs and time-stamped data

Page 15: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Kibana

● Visualize logs and time-stamped data

● Powerful search syntax

Page 16: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Kibana

● Visualize logs and time-stamped data

● Powerful search syntax

● Flexible, powerful, yet intuitive interface

Page 17: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Kibana

Page 18: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

Page 19: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

What

Page 20: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● System state

What

Page 21: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● System state

● Application state

What

Page 22: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● System state

● Application state

● Exceptions

What

Page 23: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● System state

● Application state

● Exceptions

● Activity

What

Page 24: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

Tools

Page 25: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● Nagios

● Collectd

● Munin

Tools

Page 26: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring

● Nagios

● Collectd

● Munin

● Riemann

Tools

Page 27: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

Page 28: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

Page 29: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

● Persisting application state

Page 30: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

● Persisting application state

● Format is usually application specific

Page 31: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

● Persisting application state

● Format is usually application specific

● Structured vs unstructured

Page 32: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Logging

● Persisting application state

● Format is usually application specific

● Structured vs unstructured

● Great source for monitoring too!

Page 33: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring + Logging

Page 34: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring + Logging

● What do we already have?

Page 35: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring + Logging

● What do we already have?

● What can we add?

Page 36: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Monitoring + Logging

● What do we already have?

● What can we add?

● How will we benefit from all of this?

Page 37: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Q & A

Page 38: OSDC: Gergely Nagy: Monitoring with syslog-ng, Riemann and Kibana

Thanks!

● http://www.syslog-ng.org/

● https://github.com/balabit/syslog-ng-incubator

● https://talien.blogs.balabit.com/

● https://algernon.blogs.balabit.com/