From 74186647f9360ae41292509bf08b36add7f0672c Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Wed, 17 Jan 2024 16:06:40 +0000 Subject: [PATCH] Update specification output --- .../elasticsearch-serverless-openapi.json | 47 +++++++++++++++++++ output/schema/schema.json | 5 +- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index d00051061f..28128eff05 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -49272,6 +49272,9 @@ "rename": { "$ref": "#/components/schemas/ingest._types:RenameProcessor" }, + "reroute": { + "$ref": "#/components/schemas/ingest._types:RerouteProcessor" + }, "script": { "$ref": "#/components/schemas/_types:Script" }, @@ -50073,6 +50076,50 @@ } ] }, + "ingest._types:RerouteProcessor": { + "allOf": [ + { + "$ref": "#/components/schemas/ingest._types:ProcessorBase" + }, + { + "type": "object", + "properties": { + "destination": { + "description": "A static value for the target. Can’t be set when the dataset or namespace option is set.", + "type": "string" + }, + "dataset": { + "description": "Field references or a static value for the dataset part of the data stream name.\nIn addition to the criteria for index names, cannot contain - and must be no longer than 100 characters.\nExample values are nginx.access and nginx.error.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.dataset}}", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "namespace": { + "description": "Field references or a static value for the namespace part of the data stream name. See the criteria for\nindex names for allowed characters. Must be no longer than 100 characters.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.namespace}}", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + } + ] + }, "ingest._types:SetProcessor": { "allOf": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index b68d51d21a..7a4da04ca2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -130721,6 +130721,7 @@ { "description": "Routes a document to another target index or data stream.\nWhen setting the `destination` option, the target is explicitly specified and the dataset and namespace options can’t be set.\nWhen the `destination` option is not set, this processor is in a data stream mode. Note that in this mode, the reroute processor can only be used on data streams that follow the data stream naming scheme.", "docId": "reroute-processor", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/reroute-processor.html", "name": "reroute", "required": false, "type": { @@ -131054,7 +131055,7 @@ } }, { - "description": "Field references or a static value for the dataset part of the data stream name. \nIn addition to the criteria for index names, cannot contain - and must be no longer than 100 characters. \nExample values are nginx.access and nginx.error.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). \nWhen resolving field references, the processor replaces invalid characters with _. Uses the part \nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.dataset}}", + "description": "Field references or a static value for the dataset part of the data stream name.\nIn addition to the criteria for index names, cannot contain - and must be no longer than 100 characters.\nExample values are nginx.access and nginx.error.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.dataset}}", "name": "dataset", "required": false, "type": { @@ -131081,7 +131082,7 @@ } }, { - "description": "Field references or a static value for the namespace part of the data stream name. See the criteria for\nindex names for allowed characters. Must be no longer than 100 characters.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). \nWhen resolving field references, the processor replaces invalid characters with _. Uses the part \nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.namespace}}", + "description": "Field references or a static value for the namespace part of the data stream name. See the criteria for\nindex names for allowed characters. Must be no longer than 100 characters.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.namespace}}", "name": "namespace", "required": false, "type": {