← ClaudeAtlas

better-stack-logginglisted

Better Stack log management (Logtail): log sources, structured log search and query syntax, log-based alerting, and log analysis workflows.
WYRE-AI/msp-claude-plugins · ★ 46 · DevOps & Infrastructure · score 81
Install: claude install-skill WYRE-AI/msp-claude-plugins
# Better Stack Log Management (Logtail) ## Overview Better Stack Logs (formerly Logtail) provides centralized log management with structured log ingestion, real-time search, and log-based alerting. MSPs use it to aggregate logs from client infrastructure, investigate incidents, and set up proactive alerting on error patterns. ## Anti-triggers - **Azure Log Analytics and KQL** — different store, different query language; use `azure-mcp-observability`. - **Threat hunting or security event analysis** — these are application logs, not a SIEM; use `huntress-signals` or `blumira`. - **Uptime history for a monitor** — check results are not log records; use `betterstack-monitors`. ## Key Concepts ### Log Sources Sources define where logs come from and how they're ingested: - **Platform sources** - AWS, Azure, GCP, Heroku, Vercel, etc. - **Language sources** - Node.js, Python, Ruby, Go, etc. - **Infrastructure sources** - Docker, Kubernetes, syslog, HTTP - Each source gets a unique source token for authentication ### Log Structure Logs in Better Stack are structured JSON documents: - `dt` - Timestamp (ISO 8601) - `level` - Log level (info, warn, error, debug, fatal) - `message` - Log message text - Any additional custom fields (request_id, user_id, service, etc.) ### Query Language Better Stack supports SQL-like queries for log searching: - Field-based filters: `level:error`, `service:api` - Text search: `"connection refused"` - Time ranges: `dt:[2026-03-27T00:00:00Z