Skip to main content

Lightweight log monitoring framework.

Project description

sendlog

Release Last Commit Repo Size

sendlog is a lightweight, extensible log monitoring framework with rule-based alerting. View the full documentation at sendlog.samcole.net.

NOTE: Sendlog is in alpha. In its current state, it may be unstable and is subject to significant changes in future releases.

Quick Start Guide

Installation

This quick start installation guide is designed for Linux distributions running systemd.

  1. Clone the repository. You can put it anywhere you want—/opt is recommended. Example:

    sudo git clone https://github.com/samcole8/sendlog.git /opt/sendlog
    
  2. Configure a virtual environment and install Python dependencies

    python3 -m venv /opt/sendlog/venv
    source /opt/sendlog/venv/bin/activate
    pip install -r /opt/sendlog/requirements.txt
    
  3. Copy the systemd service script into your systemd service directory, e.g.:

    sudo cp /opt/sendlog/pkg/sendlog.service /etc/systemd/system/sendlog.service
    

Configuring alerts

Configuration examples are available in examples/. For more information on configuring sendlog, see the Configuration File documentation.

Writing Plugins

You can write plugins to integrate sendlog with custom log structures or endpoints. For more information on writing plugins, see the Plugin DSL documentation.

Starting the service

  1. Start/enable the service:

    sudo systemctl enable --now sendlog
    
  2. Check if the system is operational:

    sudo systemctl status sendlog
    
  3. If the configuration file changes, restart the service:

    sudo systemctl restart sendlog
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logpipe-0.3.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logpipe-0.3.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file logpipe-0.3.0.tar.gz.

File metadata

  • Download URL: logpipe-0.3.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for logpipe-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7a11b0ae835df89b30728aceba0ed9c64ccae8f6342d9b6a4a983c169228f56f
MD5 b9eac814bb35f094e93a68d078b58c02
BLAKE2b-256 21050306e1ff1d4e7a7943454cc2558d4291e87bbabe5ecb85a36ade449de484

See more details on using hashes here.

File details

Details for the file logpipe-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: logpipe-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for logpipe-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67273d11a8648795e6c24b917b378d2e618d284b92036349eb8017ce4a3e86a7
MD5 4148121b9ff7b304d60ff537a5b90aa2
BLAKE2b-256 d8d16dcebd55cef9ddcc2ddd4a45e9e5d95c538854faa93c25bf9d9ad5ea5263

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page