Skip to content

DinoTools/routeros-log-exporter

Repository files navigation

MikroTik RouterOS log exporter

GitHub issues GitHub forks GitHub stars GitHub license Documentation PyPI - Downloads PyPI - Python Version PyPI - Format PyPI - Status

# Proof of Concept

This project is in an very early stage of development. Don't use it in production.

The Exporter connects to MikroTik RouterOS devices via API and connects to the log stream to export the logs in realtime.

Requirements

Installation

Docker

docker pull ghcr.io/dinotools/routeros-log-exporter:main
docker run --rm -v ./config.yaml:/etc/routeros_log_exporter/config.yaml:ro ghcr.io/dinotools/routeros-log-exporter:main

PIP

If you want to use pip we recommend to use as virtualenv to install the dependencies.

pip install -r requirements.txt

Debian/Ubuntu

Install the required packages

sudo apt-get install python3 python3-click python3-librouteros

From PyPI

Install the package from PyPI.

pip install routeros-log-exporter

Usage

python3 -m routeros_log_exporter --config config.yaml -vv

Resources

License

GPLv3+