Grafana
für Monitoring:
- SSH Login Attempts
- System Logs
- Docker Container logs
- Kernel Logs


- Grafana for visualization and dashboards
- Loki for log aggregation and analysis
- Promtail for log shipping
┌─────────────────────────────────────────────────────────────┐
│ LOG MONITORING SERVER │
│ ┌─────────────┐ ┌─────────────────────┐ │
│ │ Grafana │ │ Loki │ │
│ │ :3000 │ │ :3100 │ │
│ └─────────────┘ └─────────────────────┘ │
│ ┌─────────────────────┐ │
│ │ Promtail │ │
│ │ (log shipper) │ │
│ └─────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
│ Network
│
┌─────────────────────────────────────────────────────────────┐
│ REMOTE SERVERS │
│ ┌─────────────────────┐ │
│ │ Promtail │ │
│ │ (log shipper) │ │
│ └─────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
Data Flow¶
- Log Aggregation: Promtail ships logs from Application Servers to Loki
- Visualization: Grafana queries Loki for log dashboards and analysis
- Alerting: Grafana evaluates log-based rules and sends alerts via configured channels
The deployment structure includes: