ChrisLog — a fast, developer-focused log viewer written in Go.
270
One container. One binary. One file. No dependencies.
ChrisLOG is a self-contained log aggregation and viewer built for developers and ops teams who want powerful observability without the complexity of multi-service stacks. No Redis, no Elasticsearch, no Kafka — just a single ~30 MB Alpine container backed by SQLite.
docker run -d -p 8080:8080 lanbugsde/chrislog
Open http://localhost:8080 to access the Web UI.
| Port | Protocol | Purpose |
|---|---|---|
| 8080 | TCP | Web UI & HTTP ingest |
| 514 | UDP | Syslog UDP |
| 514 | TCP | Syslog TCP |
| 12201 | UDP | GELF UDP |
All settings are controlled via environment variables:
| Variable | Default | Description |
|---|---|---|
WEB_USERNAME | admin | HTTP Basic Auth username |
WEB_PASSWORD | (empty) | HTTP Basic Auth password (disabled when empty) |
RETENTION_DAYS | 30 | Delete logs older than N days (0 = disabled) |
RETENTION_BYTES | 0 | Max DB size in bytes; oldest logs removed first |
DB_PATH | /data/chrislog.db | SQLite database file path |
DEFAULT_FILTER_REGEX | (empty) | Pre-filled search expression on page load |
GROK_PATTERNS | (empty) | Comma-separated GROK pattern names to apply |
GROK_PATTERN_DIR | (empty) | Directory for custom .grok pattern files |
LOG_LEVEL | INFO | ChrisLOG's own log verbosity |
services:
chrislog:
image: lanbugsde/chrislog
ports:
- "8080:8080"
- "514:514/udp"
- "514:514/tcp"
- "12201:12201/udp"
volumes:
- chrislog-data:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
WEB_USERNAME: admin
WEB_PASSWORD: secret
RETENTION_DAYS: "14"
volumes:
chrislog-data:
Send logs directly from any application:
curl -X POST http://localhost:8080/api/ingest \
-H "Content-Type: application/json" \
-d '{"message": "deploy finished", "level": "info", "tag": "ci"}'
The ingest endpoint requires no authentication, making it easy to integrate with external services and scripts.
Content type
Image
Digest
sha256:ee1938cf2…
Size
7.7 MB
Last updated
4 months ago
docker pull lanbugsde/chrislog