Class LogstashInternalBridge

java.lang.Object
org.elasticsearch.ingest.LogstashInternalBridge

public class LogstashInternalBridge extends Object
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 Details

    • isReroute

      public static boolean isReroute(IngestDocument ingestDocument)
      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

      public static void resetReroute(IngestDocument ingestDocument)
      Set the reroute flag of the provided IngestDocument to false.
    • createThreadPool

      public static ThreadPool createThreadPool(Settings settings)
      Parameters:
      settings -
      Returns:
      a new ThreadPool with a noop MeterRegistry