Open shaikatz opened 5 years ago
Since I didn't get any comment about this issue, I've implemented the feature. We currently consider forking the plugin and publishing it as a separate ruby gem since we're in need of this functionality here at my company. Naturally - it will be better to merge this change into your plugin to keep everything in one place, please let me know if this is something you're in favor of too.
@shaikatz would be able to share what you have done?
@g3kr you can find it in my fork https://github.com/shaikatz/fluent-plugin-throttle sorry for the late response.
Hi, First of all, thanks for your great plugin, I find it very useful and powerful.
Our use case requires group records by
pod_name
+ specificlog_levels
. For example, we want to throttle only records that have log_levelwarn
orerror
.Thought that it'll be nice to have an option to specify field and value to prevent the record from being throttled. it can be built like record_modifier does it:
For this plugin we can have:
What do you think?