Setup GeoNetwork


GeoNetwork package should be build using the Maven es profile in order to be able to configure the search/content statistics to use ElasticSearch/Kibana:

$ mvn clean install -Penv-prod,es

If you’re using a development environment, can use the following command from the Geonetwork sources folder:

$ cd GN_SOURCES/web
$ mvn jetty:run -Penv-dev,es

To setup the search/content statistics in GeoNetwork do the following steps:

  • Comment the following filter in TOMCAT_DIR/webapps/geonetwork/WEB-INF/web.xml


, otherwise when accessing the dashboard the following error is displayed in the js console:

Refused to display 'http://localhost:8080/geonetwork/dashboards/app/kibana#/dashboard/5b407790-4fa1-11e7-a577-3197d1592a1d?embed=true&_g=()' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

The first time you’re prompted to select the Kibana default index. Select .dashboards:


and set as default to get it working.

  • Reload the page and check the dashboards.


Content statistics/validation

Content and validation status statistics are available also from to Statistics and status in http://localhost:8080/geonetwork/srv/eng/admin.console#/dashboard, but require to index manually the content in ElasticSearch. This will be improved in future versions.