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.8.0.

Quickstart

Install with pipx

pipx install 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.10.4.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

axosyslog_cfg_helper-1.10.4-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axosyslog_cfg_helper-1.10.4.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for axosyslog_cfg_helper-1.10.4.tar.gz
Algorithm Hash digest
SHA256 3928e99d8173e7a1bba43013a5ce8124e3244d90b9540333ab3a9530d3b2b8af
MD5 4cbc49f8f3adb55ed170caadb0cb3402
BLAKE2b-256 83c528e9e356bb18f838e0dde2e21ea59bd9c5748503c6b9152695c128dee157

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for axosyslog_cfg_helper-1.10.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3d0c0c1b7b3d3249b1f9680d73fc56f78200afe7e8069bd57ec33ec03715bd62
MD5 becba669a76c25058aa37f55cd6cd62f
BLAKE2b-256 2d2059d8eece75406279bcc94ed79090063f29c31f21ce90c5b8f3c5389c3ae0

See more details on using hashes here.

Supported by

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