Class RerouteProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteProcessor>Json deserializer forRerouteProcessor -
Method Summary
Modifier 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.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant
_toProcessor
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteProcessor
-
-
Method Details
-
of
public static RerouteProcessor of(Function<RerouteProcessor.Builder, ObjectBuilder<RerouteProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
destination
A static value for the target. Can’t be set when the dataset or namespace option is set.API name:
destination -
dataset
Field 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 -
namespace
Field 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 classProcessorBase
-
setupRerouteProcessorDeserializer
protected static void setupRerouteProcessorDeserializer(ObjectDeserializer<RerouteProcessor.Builder> op)
-