We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75dd441 commit aebb81bCopy full SHA for aebb81b
src/flb_task.c
@@ -392,12 +392,7 @@ struct flb_task *flb_task_create(uint64_t ref_id,
392
struct flb_output_instance, _head);
393
394
/* skip output plugins that don't handle proper event types */
395
- if (ic->event_type == FLB_INPUT_LOGS &&
396
- !(o_ins->event_type & FLB_OUTPUT_LOGS)) {
397
- continue;
398
- }
399
- else if (ic->event_type == FLB_INPUT_METRICS &&
400
- !(o_ins->event_type & FLB_OUTPUT_METRICS)) {
+ if (!flb_router_match_type(ic->event_type, o_ins)) {
401
continue;
402
}
403
0 commit comments