es-template-validate/README.md
Ivan Panteleev f1b7ea15b1 init commit
2019-12-04 15:08:36 +03:00

564 B

  • Create file <template_name>.json and fill it with ES index template

  • Copy <template_name>.json into templates directory

  • Create file <template_name>.json and fill it with sample data for your <template_name>

  • Copy <template_name>.json into samples directory

  • Build and run ES container:
    docker-compose up -d

  • Run app.py script and read it's output:
    python app.py

If ES-generated mapping matches your template script will exit with 0 status code or 1 in opposite case.