SelfHostStackOpen-Source Directory

Why Migrate Away from Datadog Logs & Loggly / Papertrail?

Datadog and Loggly charge punitive ingestion fees (/usr/bin/bash.10 to .50 per GB/month) that penalize verbose logging and debugging. Self-hosting Grafana Loki or SigNoz gives your engineering team petabyte-scale log aggregation, OpenTelemetry compliance, index-free low storage costs (using chunk compression), and seamless Grafana dashboards without bill shock.

Top 2 Recommended Open-Source Replacements

Tested, self-contained, and production-ready. Click any tool to inspect verified docker-compose configurations, hardware sizing, and deployment guides.

Grafana Loki

AGPL-3.0⭐ 24.0k+

Like Prometheus, but for logs. Cost-effective log aggregation and querying without full-text index bloat.

Min RAM1 GB
Min CPU1 vCPU
GitHub Repo ↗

✅ Advantages

  • Drastically lower storage and RAM costs compared to Elasticsearch
  • Seamless integration into existing Grafana monitoring workflows
  • High throughput log ingestion without indexing bottlenecks

⚠️ Trade-offs / Limitations

  • Full-text searches on massive historical datasets scan chunks rather than using inverted indexes

Core Features

Indexes only metadata labels (like Kubernetes pods, app names) keeping index size tiny
LogQL: expressive query language for filtering, regex parsing, and metric aggregation from logs
Native integration with Grafana visualization dashboards and alerting rules
Supports Promtail, Fluent Bit, Vector, and Logstash shippers
Stores raw compressed chunks in local filesystem or cheap S3 object storage
📄 docker-compose.yml
Production Ready
version: '3.8'
services:
  loki:
    image: grafana/loki:latest
    restart: always
    ports:
      - "3100:3100"
    command: -config.file=/etc/loki/local-config.yaml
    volumes:
      - loki_data:/loki
  grafana:
    image: grafana/grafana:latest
    restart: always
    ports:
      - "3000:3000"
    environment:
      - GF_SECURITY_ADMIN_USER=admin
      - GF_SECURITY_ADMIN_PASSWORD=admin_secret
    volumes:
      - grafana_data:/var/lib/grafana
volumes:
  loki_data:
  grafana_data:

🚀 5-Minute Deployment Guide

  1. 1Spin up a 2GB+ VPS (Hetzner CX22 or DigitalOcean Droplet).
  2. 2Launch Loki and Grafana with docker compose up -d.
  3. 3Open Grafana at http://your-server-ip:3000 (admin / admin_secret).
  4. 4Add Loki as a datasource (URL: http://loki:3100).
  5. 5Deploy Promtail or Vector on client servers to stream syslog and container logs.

Recommended Cloud VPS for Grafana Loki

Compare all VPS hosts →
Hetzner Cloud€3.79 / month

CX22 (2 vCPU, 4GB RAM, 40GB NVMe)

Sufficient CPU and fast NVMe to ingest millions of log lines daily.

Deploy on Hetzner →
DigitalOcean2.00 / month

Basic Droplet (2 vCPU, 2GB RAM, 60GB SSD)

Simple deployment with predictable monthly network egress.

Claim $200 DO Credit →

SigNoz

Apache-2.0⭐ 20.5k+

Open-source unified observability platform (APM, Logs, Traces) built natively for OpenTelemetry.

Min RAM4 GB
Min CPU2 vCPU
GitHub Repo ↗

✅ Advantages

  • Direct full-featured alternative to Datadog APM and Logs in one platform
  • ClickHouse backend provides 10x-50x faster queries than Elasticsearch
  • 100% open-source Apache-2.0 license

⚠️ Trade-offs / Limitations

  • Requires 4GB to 8GB RAM to run ClickHouse and OpenTelemetry collector smoothly

Core Features

Unified single pane of glass for application metrics, distributed traces, and log aggregation
Native OpenTelemetry (OTel) collector and standard instrumentation across all languages
Powered by ClickHouse columnar database for blazing fast analytical queries
Flamegraphs, Gantt charts, and root-cause analysis for tracing slow API requests
Comprehensive alerting engine with Slack, PagerDuty, and webhook routing
📄 docker-compose.yml
Production Ready
version: '3.8'
services:
  signoz-frontend:
    image: signoz/frontend:latest
    restart: always
    ports:
      - "3301:3301"
    depends_on:
      - signoz-otel-collector
  signoz-otel-collector:
    image: signoz/signoz-otel-collector:latest
    restart: always
    ports:
      - "4317:4317"
      - "4318:4318"

🚀 5-Minute Deployment Guide

  1. 1Provision a 4GB+ VPS (Hetzner CPX21 or DigitalOcean 4GB Droplet).
  2. 2Clone the official SigNoz deployment repo: git clone -b main https://github.com/SigNoz/signoz.git.
  3. 3Execute ./install.sh to deploy ClickHouse, SigNoz query service, and OTel collector.
  4. 4Access the UI on port 3301 and configure OpenTelemetry SDK endpoints in your apps.

Recommended Cloud VPS for SigNoz

Compare all VPS hosts →
Hetzner Cloud€6.49 / month

CPX21 (3 vCPU, 4GB RAM, 80GB NVMe)

High NVMe IOPS for rapid ClickHouse log ingestion and indexing.

Deploy on Hetzner →

Quick Specification Matrix

ToolLicenseMin RAMMin CPUGitHub RepoPrimary Advantage
Datadog Logs & Loggly / Papertrail (Proprietary)Proprietary ClosedManaged CloudManaged CloudN/ATurnkey onboarding with vendor lock-in & paywalls
Grafana LokiAGPL-3.01 GB1 vCPUgrafana/lokiDrastically lower storage and RAM costs compared to Elasticsearch
SigNozApache-2.04 GB2 vCPUSigNoz/signozDirect full-featured alternative to Datadog APM and Logs in one platform
Starter Stack Pack — $29

Skip the setup: get the production-ready stack

Don't stitch together configs from five different READMEs. Get all 5 production-hardened Docker Compose stacks — Postgres, Redis, SSL auto-renewal, and backup scripts — ready to deploy in minutes.

n8nVisual workflow automation
📊UmamiPrivacy-first web analytics
🛡️Uptime KumaUptime monitoring & alerts
🔐VaultwardenBitwarden-compatible vault
☁️NextcloudDropbox/Drive replacement
Get the Stack Pack — $29 →

One-time purchase · Instant download · Production-ready

esc
navigate open