Dashboards and Reports
Introduction
BPA Application data pushed to elastic search for reporting and dash boards. We can use this data for search screens or dashboard. Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data and easy to show aggregate reports.
BPA System also providing a default set of reports which are written in Java. Kibana Dashboard is used to show state specific/city specific reports using elastic search.
Prerequisites
We need to start an elastic search before starting the application server. The elastic search cluster name and port configuration required in wildfly to push data to elastic search.
The folder structure of elastic search related files of BPA module is shown in this picture.
Functionality
The indexes are created/update on each action on the application flow. This will help us to generate any kind of report based on the saved data. In case of any correction required in the created index, using scripts, data can be pushed to the Elastic search index. The indexes will be automatically created on the start of the application, for the very first time in the system.
Configurations and Setup
The following three fields are to be updated in egov-erp-override.properties files to enable elastic search. This will be one-time setup.
elasticsearch.hosts=localhost
elasticsearch.port=9300
elasticsearch.cluster.name=egovelasticsearch
Support Information
The latest version of kibana supports to combine multiple index to generate report. Please refer below link for more information,
https://www.elastic.co/guide/en/kibana/current/dashboard.html
Dashboard URL