younifyd
Menu

Simulate a pipeline (GET /_ingest/pipeline/{id}/_simulate)

Simulate a pipeline

GET/_ingest/pipeline/{id}/_simulate

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Simulate a pipeline (GET /_ingest/pipeline/{id}/_simulate) action (under ingest).
  3. Fill in the fields below, then reference the result from later steps as {{simulateAPipelineGetIngestPipelineIdSimulate.response.data}}.

Request

Path parameters

idstringrequired

The pipeline to test. If you don't specify a `pipeline` in the request body, this parameter is required.

Query parameters

verboseboolean

If `true`, the response includes output data for each processor in the executed pipeline.

Response

Returns 200 with an object. Read it in later steps with {{simulateAPipelineGetIngestPipelineIdSimulate.response.data.<field>}}.

docsarray<object>
docany
errorany
processor_resultsarray<object>7 fields
json
{
  "docs": [
    {
      "doc": null,
      "error": null,
      "processor_results": [
        {
          "doc": null,
          "tag": "string",
          "processor_type": "string",
          "status": null,
          "description": "string",
          "ignored_error": null,
          "error": null
        }
      ]
    }
  ]
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Simulate a pipeline (GET /_ingest/pipeline/{id}/_simulate) — Elasticsearch — Documentation