You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/enrich-processor/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ Refer to [Enrich your data](docs-content://manage-data/ingest/transform-enrich/d
156
156
[`lowercase` processor](/reference/enrich-processor/lowercase-processor.md) and [`uppercase` processor](/reference/enrich-processor/uppercase-processor.md)
157
157
: Converts a string field to lowercase or uppercase.
Remediates documents that have been stored in a data stream's failure store by restoring them to their original format. This processor is designed to work with documents that failed during ingestion and were automatically stored in the failure store with additional error metadata and document structure wrapping.
10
10
11
-
The remediate processor performs the following operations:
11
+
The Recover Failure Document processor performs the following operations:
12
12
13
13
* Extracts the original document source from the `document.source` field
14
14
* Restores the original index name from `document.index` to the document metadata
15
15
* Restores the original routing value from `document.routing` to the document metadata (if present)
16
16
* Removes the failure-related fields (`error` and `document`) from the document
17
17
* Places all original source fields back at the root level of the document
18
18
19
-
$$$remediate-options$$$
19
+
$$$recover_failure_document-options$$$
20
20
21
21
| Name | Required | Default | Description |
22
22
| --- | --- | --- | --- |
@@ -26,15 +26,15 @@ $$$remediate-options$$$
26
26
|`on_failure`| no | - | Handle failures for the processor. See [Handling pipeline failures](docs-content://manage-data/ingest/transform-enrich/ingest-pipelines.md#handling-pipeline-failures). |
27
27
|`tag`| no | - | Identifier for the processor. Useful for debugging and metrics. |
Copy file name to clipboardExpand all lines: modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RecoverFailureDocumentProcessorFactoryTests.java
Copy file name to clipboardExpand all lines: modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RecoverFailureDocumentProcessorTests.java
Copy file name to clipboardExpand all lines: modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/340_recover_failure_document_processor.yml
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -35,20 +35,20 @@ setup:
35
35
field: count
36
36
value: "not_a_number"# This will cause a mapping failure
37
37
38
-
# Create a remediation-pipeline with remediate processor
38
+
# Create a remediation-pipeline with recover_failure_document processor
39
39
- do:
40
40
ingest.put_pipeline:
41
41
id: "remediation_pipeline"
42
42
body:
43
43
description: "Pipeline to remediate failed documents"
44
44
processors:
45
-
- remediate: {}
45
+
- recover_failure_document: {}
46
46
47
47
---
48
48
teardown:
49
49
- do:
50
50
indices.delete_data_stream:
51
-
name: test-logs-remediate
51
+
name: test-logs-recover_failure_document
52
52
ignore: 404
53
53
54
54
- do:
@@ -67,11 +67,11 @@ teardown:
67
67
ignore: 404
68
68
69
69
---
70
-
"Test remediate processor with data stream failure store":
70
+
"Test recover_failure_document processor with data stream failure store":
0 commit comments