Graylog2 / Graylog2/graylog2-server

route_to_stream pipeline function silently dropping messages

Open
#21,106 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
When `route_to_stream` is called for a paused stream and the `remove_from_default` argument is set, an exception should be raised to indicate that processing has failed.

## Current Behavior
When `route_to_stream` is called for a paused stream and the `remove_from_default` argument is set, the message will not be added to the target stream and it will be removed from the default stream, resulting in the message being silently lost.

## Possible Solution
Update `route_to_stream` logic to raise an error instead of silently dropping messages from all streams.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.