-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 7.10
-
Component/s: Audit, Elasticsearch, UIDSequencer
-
Tags:
-
Impact type:API change, Configuration Change
-
Upgrade notes:
-
Sprint:drive-7.10-1
-
Story Points:2
The Elasticsearch index names used for the UID sequencer and for audit logs are now configurable through the following properties in nuxeo.conf:
## Name of the Elasticsearch index for audit logs audit.elasticsearch.indexName=${elasticsearch.indexName}-audit ## Name of the Elasticsearch index for the uid sequencer seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen
As a reminder, the audit Elasticsearch index is mostly used by ESAuditBackend and the UID sequencer index by ESUIDSequencer.
This allows to have several Nuxeo instances sharing the same Elasticsearch cluster.
We use the elasticsearch.indexName property (default value : nuxeo) as a prefix to ease configuration of multiple Nuxeo instances sharing an Elasticsearch cluster: changing the single elasticsearch.indexName property is enough to give a unique name to all the Elasticsearch indexes.
Since the default value for elasticsearch.indexName is nuxeo, the resulting default values for the new properties are:
audit.elasticsearch.indexName=nuxeo-audit seqgen.elasticsearch.indexName=nuxeo-uidgen
- depends on
-
NXP-17424 Make Elasticsearch sequence and audit indexes more consistent / configurable
- Resolved