Skip to main content

Configuration helper for axosyslog.

Project description

AxoSyslog CFG Helper

This tool makes configuring AxoSyslog a bit easier by listing the options of each available driver.

The options are generated from AxoSyslog v4.26.0.

Quickstart

Install with pipx

pipx install axosyslog-cfg-helper

Or pull the container image

docker pull ghcr.io/alltilla/axosyslog-cfg-helper

List the contexts

axosyslog-cfg-helper

List the drivers in a context

axosyslog-cfg-helper --context parser

List the options of a driver

axosyslog-cfg-helper --context parser --driver csv-parser

Example

Example

Development

The tool is still in development, but most of the drivers are supported.

Missing features are:

  • Proper rewrite support.
  • Proper filter support.
  • Drivers defined in SCLs.
  • Drivers defined with confgen.

Any contribution is welcome :)

Local setup

The project uses poetry as a dependency management system.

Building of the option database needs the neologism pip package, which gets installed by poetry, however it has another dependency, which is bison. Make sure to install bison (at least 3.7.6) on you system if you wan't to develop locally. make bison can help with that.

The Makefile consists of some useful commands:

  • make venv prepares the venv.
  • make bison downloads bison 3.7.6, builds it and installs it under /usr/local.
    • You can change the install path with make bison BISON_INSTALL_PATH=...
  • make check runs the unit tests, style-checkers and linters.
  • make format formats the code.
  • make db downloads the axosyslog release tarball and generates the option database.
  • make db AXOSYSLOG_SOURCE_DIR=/path/to/axosyslog creates a tarball from the state of the axosyslog source dir and generates the option database.
  • make package creates the pip package.

Community

You can reach out to the AxoSyslog community on Discord:

Axoflow Discord Server

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

axosyslog_cfg_helper-1.26.1.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

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

axosyslog_cfg_helper-1.26.1-py3-none-any.whl (76.0 kB view details)

Uploaded Python 3

File details

Details for the file axosyslog_cfg_helper-1.26.1.tar.gz.

File metadata

  • Download URL: axosyslog_cfg_helper-1.26.1.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1018-azure

File hashes

Hashes for axosyslog_cfg_helper-1.26.1.tar.gz
Algorithm Hash digest
SHA256 0bd0953f6e2aba472dff6a06bc3aac805a6633f5547a071d1e807b5c97caf3c7
MD5 a605f2642c5ecff401f07e2a8e754207
BLAKE2b-256 6fe8ddf6cb43d578bb44d9d8796580e3fe33afd6bc17f37c0065b5affbbfbcad

See more details on using hashes here.

File details

Details for the file axosyslog_cfg_helper-1.26.1-py3-none-any.whl.

File metadata

File hashes

Hashes for axosyslog_cfg_helper-1.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2468c61b93cbad251e1c518de5b3881e2d324efdfacda77fe112f6602f6e86f
MD5 52ac39df642e12fe674d89ed23e00aed
BLAKE2b-256 05394c0aa5db051fbed1d7e0ce6fb67ac4852c49ab6058c4b295a1a2e2b78161

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