syslog-ng CFG Helper
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.
Quickstart
Install with pipx
pipx install syslog-ng-cfg-helper
List the contexts
syslog-ng-cfg-helper
List the drivers in a context
syslog-ng-cfg-helper --context parser
List the options of a driver
syslog-ng-cfg-helper --context parser --driver csv-parser
Example
Development
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 :)
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 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.
Community
You can reach out to the syslog-ng community on Discord:
Metadata
Release files for syslog-ng-cfg-helper 1.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| syslog_ng_cfg_helper-1.8.1.tar.gz | 40.0 kB | Without provenance | Details for syslog_ng_cfg_helper-1.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| syslog_ng_cfg_helper-1.8.1-py3-none-any.whl | Python 3 | none | any | Details for syslog_ng_cfg_helper-1.8.1-py3-none-any.whl |
Total release size: 96.5 kB
Release files / syslog_ng_cfg_helper-1.8.1.tar.gz
| Download URL | syslog_ng_cfg_helper-1.8.1.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ac93314feea65cd63b2536ac2e6e2eb0ec4f5ebe18fd67ebf73a044dccb7f57
|
|
BLAKE2b-256 checksum How to use checksums |
01716a5e952793091c52a3d285b474b9ecb86ebe25f35d8a1229bb030ccfaf86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
|
Release files / syslog_ng_cfg_helper-1.8.1-py3-none-any.whl
| Download URL | syslog_ng_cfg_helper-1.8.1-py3-none-any.whl |
|---|---|
| Size | 56.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f1a580a4cc8d0a2b4acfe927cbb0b7be52cecd70dfae6644d9b76c08ca27cf8
|
|
BLAKE2b-256 checksum How to use checksums |
0f6676dcd558c6bc38904b4d16a571b0131eb4672a6fc1a30af9e71d0d79b8d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure
|
Security for syslog-ng-cfg-helper 1.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.