This should simplify the creation of Elasticsearch Ingest Processors, this template will set up
- A processor class
- A plugin class
- A processor unit test
- Two REST tests
All you need to run is
cookiecutter gh:spinscale/cookiecutter-elasticsearch-ingest-processor
This requests of four inputs, which are processor_type
, description
, developer_name
and elasticsearch_version
. Note that processor_type
must be all lowercase and may only contain characters (no numbers, special chars).
Cookiecutter is a python tool, you can install it via pip install cookiecutter
(or maybe use pip3
if on osx). You can read more about cookiecutter here
If you just want to create a plugin with all the default values, you can run cookiecutter with the --no-input
parameter.