rubrikinc / fluent-plugin-throttle

Rate limiting for fluentd
Apache License 2.0
41 stars 24 forks source link

Multiple conditions for a group #7

Closed shaikatz closed 5 years ago

shaikatz commented 5 years ago

Hi,

First of all, thanks for your great plugin, I find it very useful and powerful. One thing that might prevent us from using that plugin is that we want to have multiple conditions for a group. For example, we want to have a group which contains container name + log level. I think that a good solution for that limitation is to introduce a new configuration called group_key_regex that let you define a group_key by a regex, that way we can enforce two conditions for one group.

I'm starting to write a PR for that, please let me know what do you think.

shaikatz commented 5 years ago

Closing it in favor of opening a new issue after some rethinking