diff --git a/plugins/out_parseable/parseable.c b/plugins/out_parseable/parseable.c index 13f00de3561..428b3dc6228 100644 --- a/plugins/out_parseable/parseable.c +++ b/plugins/out_parseable/parseable.c @@ -122,19 +122,19 @@ static void cb_parseable_flush(struct flb_event_chunk *event_chunk, if (end_quote != NULL) { *end_quote = '\0'; // Null-terminate the extracted value namespace_name = flb_sds_printf(&namespace_name, "%s", namespace_name_value); - // Inline check for excluded namespaces - struct mk_list *head; - struct flb_slist_entry *entry; - mk_list_foreach(head, &ctx->exclude_namespaces) { - entry = mk_list_entry(head, struct flb_slist_entry, _head); - if (flb_sds_cmp(entry->str, namespace_name, flb_sds_len(namespace_name)) == 0) { - flb_plg_info(ctx->ins, "Skipping excluded namespace: %s", namespace_name); - flb_sds_destroy(namespace_name); - flb_sds_destroy(body); - flb_sds_destroy(body_copy); - continue; // Skip sending the HTTP request - } - } + // // Inline check for excluded namespaces + // struct mk_list *head; + // struct flb_slist_entry *entry; + // mk_list_foreach(head, &ctx->exclude_namespaces) { + // entry = mk_list_entry(head, struct flb_slist_entry, _head); + // if (flb_sds_cmp(entry->str, namespace_name, flb_sds_len(namespace_name)) == 0) { + // flb_plg_info(ctx->ins, "Skipping excluded namespace: %s", namespace_name); + // flb_sds_destroy(namespace_name); + // flb_sds_destroy(body); + // flb_sds_destroy(body_copy); + // continue; // Skip sending the HTTP request + // } + // } } } }