OpenSearch/modules/ingest-common
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
..
src Backport: Add pipeline name to ingest metadata (#51050) 2020-01-16 10:50:47 +01:00
build.gradle Backport: add templating support to pipeline processor (#49643) 2019-11-27 15:53:40 +01:00