OpenSearch/docs/reference/ingest/apis
Martijn van Groningen 02dfd71efa
Backport: Add pipeline name to ingest metadata (#51050)
Backport: #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-16 10:50:47 +01:00
..
enrich [DOCS] Fixes security links (#49563) 2019-11-25 13:02:26 -08:00
delete-pipeline.asciidoc [DOCS] Reformat delete pipeline API (#47172) (#47294) 2019-09-30 11:38:46 -04:00
get-pipeline.asciidoc [DOCS] Reformat get pipeline API (#47131) (#47163) 2019-09-26 08:51:12 -04:00
index.asciidoc [DOCS] Relocate Ingest API docs to REST API section (#45812) 2019-08-23 11:55:01 -04:00
put-pipeline.asciidoc [DOCS] Reformat put pipeline API (#47171) (#47395) 2019-10-01 14:48:18 -04:00
simulate-pipeline.asciidoc Backport: Add pipeline name to ingest metadata (#51050) 2020-01-16 10:50:47 +01:00