An Elasticsearch plugin to return query results as either PDF,HTML or CSV.
Once this plugin is installed into elasticsearch search,it exposes the url http://{ip}:9200/_generate, you can run queries on your cluster with the right parameters it would return PDF,HTML or CSV file.
This version works on Elasticsearch 5.6.10
1. Install plugin
sudo bin/elasticsearch-plugin install https://github.com/malike/elasticsearch-report-engine/releases/download/5.6.10/st.malike.elasticsearch.report.engine-5.6.10.zip
2. Grant permissions
3. Folder Structure
Create folders templates
and reports
in ES_HOME
. Store your *.jasper
and *.jrxml
files in the templates
folder and pass the templateName as the template
(with the right
extension) parameter for HTML
and PDF
reports.
Once this plugin is installed into elasticsearch search,it exposes the url http://{ip}:9200/_generate, you can run queries on your cluster with the right parameters it would return PDF,HTML or CSV file.
This version works on Elasticsearch 5.4.0
1. Install plugin
sudo bin/elasticsearch-plugin install https://github.com/malike/elasticsearch-report-engine/releases/download/5.4.0/st.malike.elasticsearch.report.engine-5.4.0.zip
2. Grant permissions
3. Folder Structure
Create folders templates
and reports
in ES_HOME
. Store your *.jasper
and *.jrxml
files in the templates
folder and pass the templateName as the template
(with the right
extension) parameter for HTML
and PDF
reports.