Closed lancechentw closed 9 years ago
Current released versions of fluent-plugin-parser
cannot handle these parser plugins.
That is related with #12 and #15.
After merging #15 and release of next version of fluent-plugin-parser
, we will be able to add custom parser plugins by our own gems or .rb
files on LOAD_PATH
.
Please wait a little!
Great! It seems that #15 makes fluent-plugin-parser
inherit from the built-in parser. So I should be able to apply customized parser plugins out-of-the-box. Looking forward to it. :+1:
Resolved by #15
Hello there,
I want to port parser plugins support introduced in http://docs.fluentd.org/articles/plugin-development#parser-plugins-v01046-and-above to fluent-plugin-parser. The problem is, parser plugins will be loaded before fluent-plugin-parser, thus
register_template
is undefined at the point it is triggered inside parser plugins. Plugins are loaded in the order 1) built-in plugins, 2) plugins inFLUENT_PLUGIN
, 3) plugins inLOAD_PATH
, and 4) plugins from gems. Any suggestions on how I can make this happen?