Simulating an ingest pipeline
The ingest
part of every architecture is very sensitive, so the Elasticsearch team has created the possibility of simulating your pipelines without the need to store them in Elasticsearch.
The simulate
pipeline API allows a user to test, improve, and check functionalities of your pipeline without deployment in the Elasticsearch cluster.
Getting ready
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.
How to do it...
To simulate an ingestion pipeline in Elasticsearch, we will perform the following step.
Execute a call for passing both the pipeline and a sample subset of a document that...