diff --git a/include/fluent-bit/flb_router.h b/include/fluent-bit/flb_router.h index dd7efca6bad..81528248eb6 100644 --- a/include/fluent-bit/flb_router.h +++ b/include/fluent-bit/flb_router.h @@ -44,6 +44,10 @@ static inline int flb_router_match_type(int in_event_type, !(o_ins->event_type & FLB_OUTPUT_TRACES)) { return FLB_FALSE; } + else if (in_event_type == FLB_INPUT_PROFILES && + !(o_ins->event_type & FLB_OUTPUT_PROFILES)) { + return FLB_FALSE; + } else if (in_event_type == FLB_INPUT_BLOBS && !(o_ins->event_type & FLB_OUTPUT_BLOBS)) { return FLB_FALSE;