input_chunk: restrict filtering only for input logs (not metrics for now)
@@ -961,9 +961,11 @@ int flb_input_chunk_append_raw(struct flb_input_instance *in,
#endif
/* Apply filters */
+ if (in->event_type == FLB_INPUT_LOGS) {
flb_filter_do(ic,
buf, buf_size,
tag, tag_len, in->config);
+ }
/* Get chunk size */
size = cio_chunk_get_content_size(ic->chunk);
