Pass variables to ingestion pipeline through URL


(Karapet Kostandyan) #1

Is it possible to pass variables to the pipeline when using URL API ? I want to pass a field name to the pipeline, so that it can be used for processing different fields on ingestion requests to different indexes. Something like this:

curl -s -XPOST localhost:9200/index/type/_bulk?pipeline=my_pipeline?fieldname=foo ...

Elasticsearch version: 5.1.2


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.