Go to file

LogWisp Logo

LogWisp

Go License Documentation

LogWisp

A high-performance, pipeline-based log transport and processing system built in Go. LogWisp provides flexible log collection, filtering, formatting, and distribution with enterprise-grade security and reliability features.

Features

Core Capabilities

  • Pipeline Architecture: Independent processing pipelines with source → filter → format → sink flow.
  • Multiple Input Sources: Directory monitoring, stdin, HTTP, TCP.
  • Flexible Output Sinks: Console, file, HTTP SSE, TCP streaming, HTTP/TCP forwarding.
  • Real-time Processing: Sub-millisecond latency with configurable buffering.
  • Hot Configuration Reload: Update pipelines without service restart.

Data Processing

  • Pattern-based Filtering: Chainable include/exclude filters with regex support.
  • Multiple Formatters: Raw, JSON, and template-based text formatting.
  • Rate Limiting: Pipeline rate control.

Security & Reliability

  • Authentication: Basic, token, and mTLS support for HTTPS, and SCRAM for TCP.
  • TLS Encryption: TLS 1.2/1.3 support for HTTP connections.
  • Access Control: IP whitelisting/blacklisting, connection limits.
  • Automatic Reconnection: Resilient client connections with exponential backoff.
  • File Rotation: Size-based rotation with retention policies.

Operational Features

  • Status Monitoring: Real-time statistics and health endpoints.
  • Signal Handling: Graceful shutdown and configuration reload via signals.
  • Background Mode: Daemon operation with proper signal handling.
  • Quiet Mode: Silent operation for automated deployments.

Documentation

Available in doc/ directory.

Quick Start

Install LogWisp and create a basic configuration:

[[pipelines]]
name = "default"

[[pipelines.sources]]
type = "directory"
[pipelines.sources.directory]
path = "./"
pattern = "*.log"

[[pipelines.sinks]]
type = "console"
[pipelines.sinks.console]
target = "stdout"

Run with: logwisp -c config.toml

System Requirements

  • Operating Systems: Linux (kernel 6.10+), FreeBSD (14.0+)
  • Architecture: amd64
  • Go Version: 1.25+ (for building from source)

License

BSD 3-Clause License

Description
No description provided
Readme BSD-3-Clause 1.8 MiB
Languages
Go 99.5%
Makefile 0.5%