December 2017
Intermediate to advanced
434 pages
10h 29m
English
This API is used to define a new pipeline. This API is also used to add a new pipeline or update an existing pipeline.
Let's see an example. As seen in the following code, we have defined a new pipeline named firstpipeline which converts the value present in the message field to upper case:
curl -X PUT http://localhost:9200/_ingest/pipeline/firstpipeline -H 'content-type: application/json' -d '{ "description" : "uppercase the incoming value in the message field", "processors" : [ { "uppercase" : { "field": "message" } } ]}'
When creating a pipeline, multiple processors can be defined, and the order of the execution depends on the order in which it is defined in the definition. Let's see an example for this. As seen in the ...
Read now
Unlock full access