filter: allow case-insensitive filter name
@@ -316,7 +316,7 @@ struct flb_filter_instance *flb_filter_new(struct flb_config *config,
mk_list_foreach(head, &config->filter_plugins) {
plugin = mk_list_entry(head, struct flb_filter_plugin, _head);
- if (strcmp(plugin->name, filter) == 0) {
+ if (strcasecmp(plugin->name, filter) == 0) {
break;
}
plugin = NULL;
