Skip to content

πŸ›‘οΈ Open-source, self-hosted log management. Privacy-first alternative to Datadog & ELK. Lightweight, GDPR-compliant, and deployed in minutes with Docker.

License

Notifications You must be signed in to change notification settings

logward-dev/logward

Repository files navigation


πŸ›‘οΈ LogWard

Privacy-first log management. Open Source.

☁️ Try Cloud (Free Alpha) β€’ Self-Host β€’ SDKs β€’ Docs

License Status Free Cloud Tech Stack

⚠️ ALPHA RELEASE: LogWard is currently in active Alpha. The Cloud version is 100% FREE for early adopters. We are looking for feedback to improve stability!


πŸ‘‹ What is LogWard?

LogWard is an open-source alternative to Datadog, Splunk, and ELK. Designed for developers and European SMBs who need GDPR compliance, data ownership, and simplicity without the complexity of managing an ElasticSearch cluster.

Why LogWard?

  • πŸ‡ͺπŸ‡Ί GDPR Friendly: Keep data on your servers or use our EU-based cloud.
  • ⚑ Lightweight: Built on TimescaleDB & Fastify (low RAM usage compared to Java stacks).
  • πŸš€ Developer Experience: 5-minute setup with Docker. Native SDKs.
  • πŸ’° Cost Effective: Self-host for free.

πŸ“Έ Dashboard Preview

LogWard Dashboard


πŸš€ Quick Start

Choose how you want to use LogWard.

Option A: Cloud (Fastest & Free)

We host it for you. Perfect for testing and small projects. Currently Free.

  1. Sign up: Go to logward.dev.
  2. Create Project: Create an organization and a project.
  3. Get API Key: Copy your project-scoped API Key.
  4. Send a Log:
    curl -X POST [https://api.logward.dev/api/v1/ingest](https://api.logward.dev/api/v1/ingest) \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ "logs": [{ "service": "test", "level": "info", "message": "Hello Cloud!" }] }'

Option B: Self-Hosted (Docker)

Total control over your data.

Prerequisites: Docker & Docker Compose.

  1. Clone the repo

    git clone [https://github.com/YOUR_USERNAME/logward.git](https://github.com/YOUR_USERNAME/logward.git)
    cd logward
  2. Start the stack

    docker compose up -d
  3. Access LogWard

    • URL: http://localhost:3000
    • First Time? Click "Sign up" to create your account
    • Then: Create your first organization and project

πŸ“¦ SDKs & Integrations

We have ready-to-use SDKs for the most popular languages.

Language Status Package / Link
Node.js βœ… Ready @logward-dev/sdk-node
Python βœ… Ready logward-sdk
PHP βœ… Ready logward-dev/sdk-php
Kotlin βœ… Ready logward-sdk-kotlin
Docker βœ… Ready Use Fluent Bit / Syslog driver
HTTP βœ… Ready API Reference

Note: Go (Golang) support is coming soon. Use the HTTP API for now.


✨ Features available in Alpha

  • βœ… High-Performance Ingestion: Batch API handling thousands of logs/sec.
  • βœ… Real-time Live Tail: See logs as they arrive via Server-Sent Events (SSE).
  • βœ… Powerful Search: Filter by service, level, time range, and full-text search.
  • βœ… Multi-Organization: Isolate teams and projects strictly.
  • βœ… Alerting: Get notified via Email or Webhook (Slack/Discord) on error spikes.
  • βœ… Retention Policy: Automatic cleanup of old logs via TimescaleDB.

πŸ—οΈ Tech Stack

We use modern, type-safe tools to ensure performance and maintainability.

Layer Technology
Frontend SvelteKit 5 (Runes) + TailwindCSS + shadcn-svelte
Backend Fastify + TypeScript + Kysely ORM
Database PostgreSQL 16 + TimescaleDB (Time-series optimization)
Queue Redis 7 + BullMQ
Deployment Docker + Docker Compose

πŸ“„ License

Distributed under the GNU AGPLv3 License. See LICENSE for more information.

  • Free for Internal Use: You can use LogWard internally for free.
  • Open Source: The code is available for audit and contribution.
  • Commercial Protection: If you offer LogWard as a SaaS (Service) to others, you must release your source code or purchase a Commercial License.


Built with ❀️ in Europe

Start for Free β€’ Report a Bug