/beats-kubernetes-demo

Demo Beats features on Kubernetes

Primary LanguagePythonApache License 2.0Apache-2.0

Beats Kubernetes demo

About Beats

The Beats are lightweight data shippers, written in Go, that you install on your servers to capture all sorts of operational data (think of logs, metrics, or network packet data). The Beats send the operational data to Elasticsearch, either directly or via Logstash, so it can be visualized with Kibana.

Demo scenario

Scenario diagram

This demo runs on Kubernetes, it's composed of a simple Django app, served by uWSGI and with a Nginx frontend. It uses MySQL as data backend.

Everything is monitored using Beats and Elastic APM.

  • Filebeat ships logs from all running containers, enriched with Kubernetes metadata
  • Metricbeat ships system metrics for all nodes in the cluster and Kubernetes metrics on containers resource consumption and state
  • Packetbeat monitors the network and applications by sniffing packets
  • Elastic APM gather tracing timing data from your applications

Example dashboard

Example dashboard