The index creation of the Elasticsearch ReST plugin has changed and is now configurable. Please refer to Index Properties.

The Elasticsearch ReST plugin no longer supports ElasticSearch version 2.4. A version >= 5.x must be used.

Configuration of the Elasticsearch ReST plugin

The configuration of the Elasticsearch ReST plugin has been changed.
Some properties have new defaults and have been renamed.
It is now also possible to define index settings and provide a index strategy to have more control over the index creation.

Changed Properties with new defaults

Some properties of the plugin have changed.
The following table shows the old (no longer supported) and the new property name, as well as the new default, which is used if the configuration is not updated manually.
Please update the configuration file etc/org.opennms.plugin.elasticsearch.rest.forwarder.cfg accordingly.
For more details on how to configure the plugin to use elasticsearch refer to Configure ElasticSearch Persistence.

Index Properties

It is now possible to define index-related properties, e.g. the number of shards and replicas.
It is also possible to define a property elasticIndexStrategy to determine if a hourly, daily, monthly or yearly index should be created.
It defaults to monthly.