Skip to content

Commit 4c334c5

Browse files
committed
Added notebox as suggested
1 parent 85a1abe commit 4c334c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

manage-data/ingest/transform-enrich/error-handling.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ The second processor, which sets `event.category` to `authentication`, is no lon
9191

9292
We can restructure the pipeline by moving the `on_failure` handling directly into the processor itself. This allows the pipeline to continue execution. In this case, the `event.category` processor still runs. You can also retain the global `on_failure` to handle errors from other processors, while adding processor-specific error handling where needed.
9393

94-
(While executing two `set` processors within the `dissect` error handler may not always be ideal, it serves as a demonstration.)
94+
:::{note}
95+
While executing two `set` processors within the `dissect` error handler may not always be ideal, it serves as a demonstration.
96+
{note}
9597

9698
For the `dissect` processor, consider setting a temporary field like `_tmp.error: dissect_failure`. You can then use `if` conditions in later processors to execute them only if parsing failed, allowing for more controlled and flexible error handling.
9799

0 commit comments

Comments
 (0)