Skip to content

Commit 664c8df

Browse files
author
Ryan Faircloth
authored
feat: Support destination specific drop (#1424)
Previously "null_queue" fitlers were applied only on the source side which is useful for dropping data with no value to any source. This PR adds support for dropping data from a specific dest in both global and select modes.
1 parent 393029e commit 664c8df

File tree

1 file changed

+7
-2
lines changed
  • package/etc/conf.d/log_paths/2/lp_dest_alts_global

1 file changed

+7
-2
lines changed

package/etc/conf.d/log_paths/2/lp_dest_alts_global/plugin.jinja

+7-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ log{
1717
{{ filter }}
1818
};
1919
{%- endif %}
20-
21-
destination({{ destination }});
20+
if {
21+
parser {
22+
app-parser(topic(sc4s-lp-dest-select-drop-{{ destination }}));
23+
};
24+
} else {
25+
destination({{ destination }});
26+
};
2227
flags(catchall);
2328
};

0 commit comments

Comments
 (0)