java.lang.Object
org.elasticsearch.ingest.LogstashInternalBridge
This Elastic-internal API bridge class exposes package-private components of Ingest
in a way that can be consumed by Logstash's Elastic Integration Filter without
expanding Elasticsearch's externally-consumable API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadPool
createThreadPool
(Settings settings) static boolean
isReroute
(IngestDocument ingestDocument) The document has been redirected to another target.static void
resetReroute
(IngestDocument ingestDocument) Set the reroute flag of the providedIngestDocument
tofalse
.
-
Method Details
-
isReroute
The document has been redirected to another target. This implies that the default pipeline of the new target needs to be invoked.- Returns:
- whether the document is redirected to another target
-
resetReroute
Set the reroute flag of the providedIngestDocument
tofalse
. -
createThreadPool
- Parameters:
settings
-- Returns:
- a new
ThreadPool
with a noopMeterRegistry
-