This tool makes configuring syslog-ng a bit easier by listing the options of each available driver.
The options are generated from syslog-ng v4.6.0.
pipx install syslog-ng-cfg-helper
syslog-ng-cfg-helper
syslog-ng-cfg-helper --context parser
syslog-ng-cfg-helper --context parser --driver csv-parser
The tool is still in development, but most of the drivers are supported.
Missing features are:
- Proper
rewritesupport. - Proper
filtersupport. - Drivers defined in
SCLs. - Drivers defined with confgen.
Any contribution is welcome :)
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 venvprepares the venv.make bisondownloads bison 3.7.6, builds it and installs it under/usr/local.- You can change the install path with
make bison BISON_INSTALL_PATH=...
- You can change the install path with
make checkruns the unit tests, style-checkers and linters.make formatformats the code.make dbdownloads the syslog-ng release tarball and generates the option database.make db SYSLOG_NG_SOURCE_DIR=/path/to/syslog-ngcreates a tarball from the state of the syslog-ng source dir and generates the option database.make packagecreates the pip package.
This is a retro fork of axosyslog-cfg-helper, as that no longer supports syslog-ng.
