Skip to content

Commit 80b51f2

Browse files
elasticsearch-specification update
Update code based on https://github.com/elastic/elasticsearch-specification/blob/main/output/schema/schema.json from Thu Oct 10 21:32:16 UTC 2024.
1 parent 9edd02f commit 80b51f2

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

elasticsearch-ingest-node.schema.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,10 @@
15391539
"$ref": "#/$defs/SplitProcessor",
15401540
"description": "Splits a field into an array using a separator character. Only works on string fields."
15411541
},
1542+
"terminate": {
1543+
"$ref": "#/$defs/TerminateProcessor",
1544+
"description": "Terminates the current ingest pipeline, causing no further processors to be run. This will normally be executed conditionally, using the `if` option."
1545+
},
15421546
"trim": {
15431547
"$ref": "#/$defs/TrimProcessor",
15441548
"description": "Trims whitespace from a field. If the field is an array of strings, all members of the array will be trimmed. This only works on leading and trailing whitespace."
@@ -1999,6 +2003,35 @@
19992003
"separator"
20002004
]
20012005
},
2006+
"TerminateProcessor": {
2007+
"properties": {
2008+
"description": {
2009+
"type": "string",
2010+
"description": "Description of the processor. Useful for describing the purpose of the processor or its configuration."
2011+
},
2012+
"if": {
2013+
"type": "string",
2014+
"description": "Conditionally execute the processor."
2015+
},
2016+
"ignore_failure": {
2017+
"type": "boolean",
2018+
"description": "Ignore failures for the processor."
2019+
},
2020+
"on_failure": {
2021+
"items": {
2022+
"$ref": "#/$defs/ProcessorContainer"
2023+
},
2024+
"type": "array",
2025+
"description": "Handle failures for the processor."
2026+
},
2027+
"tag": {
2028+
"type": "string",
2029+
"description": "Identifier for the processor. Useful for debugging and metrics."
2030+
}
2031+
},
2032+
"additionalProperties": false,
2033+
"type": "object"
2034+
},
20022035
"TrimProcessor": {
20032036
"properties": {
20042037
"description": {

processor.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)