elasticsearch/docs/reference/ingest/apis
Martijn van Groningen 2b2935fd52
Add pipeline name to ingest metadata (#50467)
This commit adds the name of the current pipeline to ingest metadata.
This pipeline name is accessible under the following key: '_ingest.pipeline'.

Example usage in pipeline:
PUT /_ingest/pipeline/2
{
    "processors": [
        {
            "set": {
                "field": "pipeline_name",
                "value": "{{_ingest.pipeline}}"
            }
        }
    ]
}

Closes #42106
2020-01-15 16:17:05 +01:00
..
enrich [DOCS] Fixes security links (#49563) 2019-11-25 12:59:59 -08:00
delete-pipeline.asciidoc [DOCS] Reformat delete pipeline API (#47172) 2019-09-30 09:44:41 -04:00
get-pipeline.asciidoc [DOCS] Reformat get pipeline API (#47131) 2019-09-26 08:26:01 -04:00
index.asciidoc [DOCS] Relocate Ingest API docs to REST API section (#45812) 2019-08-23 11:54:40 -04:00
put-pipeline.asciidoc [DOCS] Reformat put pipeline API (#47171) 2019-10-01 14:19:26 -04:00
simulate-pipeline.asciidoc Add pipeline name to ingest metadata (#50467) 2020-01-15 16:17:05 +01:00