Skip to content

Latest commit

Β 

History

History
73 lines (51 loc) Β· 2.18 KB

File metadata and controls

73 lines (51 loc) Β· 2.18 KB

Graylog Docker Compose Setup

Production-ready Infrastructure as Code setup for Graylog with MongoDB and OpenSearch.

Built specifically for Quantus Network validator nodes.

🎯 Purpose

Centralized log management system for Quantus Network:

  • Validator nodes - aggregate logs from multiple validators across servers
  • Production monitoring - real-time monitoring and debugging
  • Performance analysis - track block production, finalization, and network health
  • Alert system - get notified about critical errors and consensus issues

πŸ—οΈ Architecture

Three-component stack running in isolated Docker network:

  • MongoDB - stores Graylog configuration and metadata
  • OpenSearch - indexes and stores logs
  • Graylog - log management server with web UI

Security: MongoDB and OpenSearch are accessible only within Docker network. Only Graylog ports are exposed externally.

πŸ“š Documentation

Complete guide for setting up and managing the Graylog stack:

  • Installation steps
  • Input configuration
  • Docker Compose commands
  • Backup & restore
  • Troubleshooting

Guide for configuring Quantus Network nodes to send logs to Graylog:

  • Basic setup (just add logging to docker-compose)
  • Advanced configuration (labels, compression, non-blocking)
  • Multiple nodes setup
  • Useful Graylog searches for Substrate
  • Troubleshooting guide

πŸš€ Quick Start

git clone <repository-url>
cd logs
cp env.template .env    # Edit and set passwords
docker compose up -d    # Auto-imports inputs!

Access: http://localhost:9000 (login: admin)

Inputs (GELF, Syslog) are configured automatically. See GRAYLOG_SETUP.md for details.

πŸ“Š Ports

Port Protocol Service
9000 HTTP Graylog Web UI & API
1514 TCP/UDP Syslog
12201 TCP/UDP GELF (Graylog Extended Log Format)

πŸ“„ License

See LICENSE file.

πŸ”— Links