Skip to content

Setup A Monitoring and Alerting System

Collect system logs

  • small: Filebeat -> ElasticSearch -> Kibana
  • scale to large: Filebeat or vector.dev agent -> Apache Kafka -> Logstash -> ElasticSearch -> Kibana

Collect base infrastructure logs: the same as Collect system logs.

Collect business logs: the same as Collect system logs.

FeatureComponentRecommended VersionRequired
Collect logs agentFilebeat7.19.xY
Collect logs agentvector.dev agent-N
Log store and full-text searchElasticSearch7.19.xY
Query and view logsKibana7.19.xY
Dashboard for everythingGrafana11.6.xY
Store monitoring metricsPrometheus3.6.xY
AlertingAlertmanager0.29.xY
Increase peak log throughputLogstash7.19.xN
Increase peak log throughputApache Kafka4.xN

Why should we stick with ELK 7.x instead of the latest generally available version, 9.x (as of 2025)? Because the features in 7.x are sufficient for most use cases, and it still supports Windows 7 as a development environment.

Released under the CC-BY-NC-4.0