-
Book Overview & Buying
-
Table Of Contents
Elasticsearch 8.x Cookbook - Fifth Edition
By :
After having stored your pipeline, it is common to retrieve its content, so that you can check its definition. This action can be done via the get pipeline API.
You need an up-and-running Elasticsearch installation, as we described in the Downloading and installing Elasticsearch recipe in Chapter 1, Getting Started.
To execute the commands, any HTTP client can be used, such as curl (https://curl.haxx.se/), Postman (https://www.getpostman.com/), or similar. Use the Kibana console, as it provides code completion and better character escaping for Elasticsearch.
To retrieve an ingestion pipeline in Elasticsearch, we will perform the following steps:
We can retrieve the ingest pipeline using a GET call:
GET /_ingest/pipeline/add-user-john
The result that's returned by Elasticsearch, if everything is okay, should be as follows:
{ "add-user-john" : {
"description...