I did some research, this is my second time I try to tackle this problem and still couldn't find a proper tutorial for ES plugin writing.
https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html
I found this page that shows some plugin structure and links some plugin examples, but when I try and create those java projects I get a load of errors in it and I get nowhere.
Some other pages show maven project examples but none have been clear enough, either I got errors or some steps were missing.
Does anyone know a step-by-step tutorial page for ES plugin writing? I have Java coding knowledge and a few months of ES experience in smaller environment.