htaghizadeh / cookiecutter-elasticsearch-ingest-processor

A cookiecutter template for an elasticsearch ingest processor plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A cookiecutter template for an Elasticsearch Ingest Processor

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.

About

A cookiecutter template for an elasticsearch ingest processor plugin


Languages

Language:Java 95.4%Language:Python 4.6%