Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

License

NotificationsYou must be signed in to change notification settings

syslog-ng/syslog-ng-cfg-helper

Repository files navigation

This tool makes configuringsyslog-ng a bit easier by listing the options of each available driver.

The options are generated fromsyslog-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

Example

Development

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

Missing features are:

  • Properrewrite support.
  • Properfilter support.
  • Drivers defined inSCLs.
  • Drivers defined with confgen.

Any contribution is welcome :)

Local setup

The project usespoetry as a dependency management system.

Building of the option database needs theneologism pip package, which gets installed by poetry, however it has another dependency, which isbison. 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.

TheMakefile 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 withmake bison BISON_INSTALL_PATH=...
  • make check runs the unit tests, style-checkers and linters.
  • make format formats the code.
  • make db downloads the syslog-ng release tarball and generates the option database.
  • make db SYSLOG_NG_SOURCE_DIR=/path/to/syslog-ng creates a tarball from the state of the syslog-ng source dir and generates the option database.
  • make package creates the pip package.

NOTE

This is a retro fork ofaxosyslog-cfg-helper, as that no longer supports syslog-ng.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp