Class RerouteProcessor
- All Implemented Interfaces:
- ProcessorVariant,- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBaseProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteProcessor>Json deserializer forRerouteProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.dataset()Field references or a static value for the dataset part of the data stream name.final StringA static value for the target.Field references or a static value for the namespace part of the data stream name.static RerouteProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBasedescription, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant_toProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forRerouteProcessor
 
- 
- 
Method Details- 
ofpublic static RerouteProcessor of(Function<RerouteProcessor.Builder, ObjectBuilder<RerouteProcessor>> fn) 
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
destinationA static value for the target. Can’t be set when the dataset or namespace option is set.API name: destination
- 
datasetField references or a static value for the dataset part of the data stream name. In addition to the criteria for index names, cannot contain - and must be no longer than 100 characters. Example values are nginx.access and nginx.error.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <dataset> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value. default {{data_stream.dataset}} API name: dataset
- 
namespaceField references or a static value for the namespace part of the data stream name. See the criteria for index names for allowed characters. Must be no longer than 100 characters.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <namespace> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value. default {{data_stream.namespace}} API name: namespace
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupRerouteProcessorDeserializerprotected static void setupRerouteProcessorDeserializer(ObjectDeserializer<RerouteProcessor.Builder> op) 
 
-