Template validator for Elasticsearch
Go to file
2019-12-04 16:45:20 +03:00
samples init commit 2019-12-04 15:08:36 +03:00
templates init commit 2019-12-04 15:08:36 +03:00
.gitignore init commit 2019-12-04 15:08:36 +03:00
app.py init commit 2019-12-04 15:08:36 +03:00
docker-compose.yml jvm memory reduced 2019-12-04 16:45:20 +03:00
Jenkinsfile Python version defined 2019-12-04 15:24:42 +03:00
README.md init commit 2019-12-04 15:08:36 +03:00

  • 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.