tagomoris / fluent-plugin-parser

Other
74 stars 23 forks source link

Issue with porting parser plugins support to fluent-plugin-parser #16

Closed lancechentw closed 9 years ago

lancechentw commented 9 years ago

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 in FLUENT_PLUGIN, 3) plugins in LOAD_PATH, and 4) plugins from gems. Any suggestions on how I can make this happen?

tagomoris commented 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!

lancechentw commented 9 years ago

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:

tagomoris commented 9 years ago

Resolved by #15