Skip to content

[Streams] Improve processor error handling #229251

@LucaWintergerst

Description

@LucaWintergerst

Today we don't validate or at least don't enforce the correctness of a processor. This can lead to issues when saving them.

In the latest version, the UI is showing that the processor could not be simulated, but we let the user save it regardless.
Image

Image

The same is also true for some other processors, such as GROK

An incorrect pattern like:
%{ASDFASDFASF:foo}

Would throw:

Failed to change state: Failed to execute Elasticsearch actions: parse_exception Root causes: parse_exception: [patterns] Invalid regex pattern found in: [%{ASDFASDFASF:foo}]. Unable to find pattern [ASDFASDFASF] in Grok's pattern dictionary. The cluster state may be inconsistent. If you experience issues, please use the resync API to restore a consistent state.
CleanShot.2025-07-24.at.10.14.25.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:StreamsThis is the label for the Streams ProjectTeam:obs-ux-logsObservability Logs User Experience TeambugFixes for quality problems that affect the customer experienceneeds design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions