better-stack-logging
SolidBetter Stack log management (Logtail): log sources, structured log search and query syntax, log-based alerting, and log analysis workflows.
DevOps & Infrastructure 36 stars
16 forks Updated today Apache-2.0
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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.
## 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 TO 2026-03-27T23:59:59Z]`
- Boolean operators: `AND`, `OR`, `NOT`
- Wildcards: `host:prod-*`
### Log-Based Alerts
Create alerts that trigger when log patterns match:
- Error rate thresholds (e.g., more than 10 errors in 5 minutes)
- Specific error message patterns
- Absence of expected log entries (heartbeat-style)
## API Patterns
### Query Logs
```
bette...
Details
- Author
- wyre-technology
- Repository
- wyre-technology/msp-claude-plugins
- Created
- 5 months ago
- Last Updated
- today
- Language
- Astro
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
API & Backend Solid
better-stack-api-patterns
Better Stack MCP and API surface across Uptime, Telemetry (Logtail), and Error Tracking: available tools, Bearer token authentication, API structure, cursor-based pagination, rate limiting, and error handling.
36 Updated today
wyre-technology DevOps & Infrastructure Solid
better-stack-on-call
Better Stack on-call: on-call calendars and rotations, escalation and notification policies, alert routing, and determining who is currently on call.
36 Updated today
wyre-technology DevOps & Infrastructure Solid
better-stack-incidents
Better Stack incidents: incident records raised by uptime monitors or reported manually, and the triage, acknowledgment, and resolution lifecycle.
36 Updated today
wyre-technology