🌫️
Monitoring & Observability

Graylog

Centralized log management with search, streams, and alerts

🐧 Linux🍎 Mac🪟 Windows
Reviewed: Tested on: Kubernetes 1.29 · Terraform 1.8 · Ubuntu 22.04

What is this?

Graylog is a log management platform with search, dashboards, and alerting.

📥

Step 01

Install Graylog

(01)Install Graylog

Linux
1wget https://packages.graylog2.org/repo/packages/graylog-6.0-repository_latest.deb
2sudo dpkg -i graylog-6.0-repository_latest.deb
3sudo apt-get update && sudo apt-get install graylog-server
⚙️

Step 02

Configure Graylog

(01)Configure Graylog

Linux
1# Set password secret and root password hash in /etc/graylog/server/server.conf
2# password_secret = ...
3# root_password_sha2 = ...
4sudo graylogctl restart
5# UI: http://localhost:9000 admin / your-password

Step 03

Verify

(01)Verify installation

Linux
1curl -s http://localhost:9000/api/system
2sudo graylogctl status
🔧

Step 04

Common Problems

#1Graylog web UI not loading

Linux
1sudo graylogctl status
2curl -I http://localhost:9000
3sudo journalctl -u graylog-server -n 50