Skip to content

Filter to drop based on condition not working #21921

Answered by jszwedko
AnaVomvylas asked this question in Q&A
Discussion options

You must be logged in to vote

I think the issue here is that you have both transforms as inputs to the sink:

      inputs:
        - drop_status
        - drop_kubelet_removestalestate

Because both inputs here have datadog_agent.logs as their input, that means you will "fan out" and then "fan in" such that will end up with duplicate events. I'm guessing that the events you expect to see dropped by the filter are actually being dropped, but those same events are also going through drop_status, where they won't be dropped' and then forwarded to the datadog_logs sink.

Visualizing the configuration with vector graph might make this clearer:

I think you may mean to chain the drop_status and drop_kubelet_removestalestate

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AnaVomvylas
Comment options

@jszwedko
Comment options

Answer selected by AnaVomvylas
@AnaVomvylas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants