osdc: gergely nagy: monitoring with syslog-ng, riemann and kibana

Post on 02-Jul-2015

527 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

In any data center, one will have a lot of machines, and even more applications, plenty of them legacy applications with little to no built-in monitoring capabilities. But even when monitoring is built in, quite often, it just provides basic building blocks. In this talk, it will be shown how to tie a syslog-ng based logging solution to the Riemann monitoring system, and use Kibana to make sense of both logging and monitoring data. The presentation will suggest solutions for extracting data from various applications, ways to transform them into useful metrics, and will - of course - also touch the subject of what exactly useful metrics are to begin with. A live demo of all things discussed will be shown at the end.

TRANSCRIPT

Monitoring with syslog-ng, Riemann and Kibana

@algernoone @balabit

syslog-ng

syslog-ng

● Open source event processor and swiss army knife

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

syslog-ng

● Open source event processor and swiss army knife

● Developed since 1998, LGPL + GPL

– (Commercial offering since 2007)

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

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

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

Riemann

Riemann

● Riemann monitors distributed systems

Riemann

● Riemann monitors distributed systems

● Event aggregator with a powerful stream processing language

Riemann

● Riemann monitors distributed systems

● Event aggregator with a powerful stream processing language

● Provides a low-latency, transient shared state

Kibana

Kibana

● Visualize logs and time-stamped data

Kibana

● Visualize logs and time-stamped data

● Powerful search syntax

Kibana

● Visualize logs and time-stamped data

● Powerful search syntax

● Flexible, powerful, yet intuitive interface

Kibana

Monitoring

Monitoring

What

Monitoring

● System state

What

Monitoring

● System state

● Application state

What

Monitoring

● System state

● Application state

● Exceptions

What

Monitoring

● System state

● Application state

● Exceptions

● Activity

What

Monitoring

Tools

Monitoring

● Nagios

● Collectd

● Munin

Tools

Monitoring

● Nagios

● Collectd

● Munin

● Riemann

Tools

Logging

Logging

Logging

● Persisting application state

Logging

● Persisting application state

● Format is usually application specific

Logging

● Persisting application state

● Format is usually application specific

● Structured vs unstructured

Logging

● Persisting application state

● Format is usually application specific

● Structured vs unstructured

● Great source for monitoring too!

Monitoring + Logging

Monitoring + Logging

● What do we already have?

Monitoring + Logging

● What do we already have?

● What can we add?

Monitoring + Logging

● What do we already have?

● What can we add?

● How will we benefit from all of this?

Q & A

Thanks!

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

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

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

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

top related