No commit activity in last 3 years
No release in over 3 years
Command to check Fluentd configuration files are valid as v1 configuration, or to check difference between v0 and v1 configuration files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 0
 Project Readme

fluentd-v1-checker

Checker utility for Fluentd v1 configuration syntax.

  • to check Fluentd configuration files are valid as both of v0 (classic) and v1 syntax
  • to check difference between v0 and v1 configuration files

Installation

$ gem install fluentd-v1-checker

Usage

Usage: fluentd-v1-checker [options] CONF_PATH
        --with-v1-conf V1_CONF_PATH  configuration file path with v1 syntax to be checked whether same or not

To check classic configuration file is valid as v1:

$ fluentd-v1-checker my_fluentd.conf

To check v1 configuration file is actually same with classic configuration file:

$ fluentd-v1-checker --with-v1-conf my_v1_fluentd.conf my_classic_fluentd.conf

If any differences exist, this utility shows entire parse result and diff, and exits with code 1. If no difference exists, it exits with code 0 without any output.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/fluentd-v1-checker/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request