Elasticsearch
3DS Server and 3DS Server Admin application can be configured to use Elasticsearch to store and search transaction logs history. Using Elasticsearch as a log storage instead of SQL is advised in case of high number of incoming transactions.
Advantages of using Elasticsearch
- Text search - faster search time than SQL databases
- Transaction logs can be accessed through Kibana, which will give flexibility for evaluating and aggregation of the transaction information.
- Elasticsearch is a common service on major cloud providers and can be easily configured.
Configuration
The following sections give an overview of the Elasticsearch configuration required for both 3DS Server and 3DS Server Admin applications. Please see the Properties page for the 3DS Server and 3DS Server Admin for more details.
3DS Server Configuration
With the following configuration the 3DS Server will store incoming transaction logs in Elasticsearch.
threedss.logging.storage.type
property must include elasticsearch. The property can accept multiple values.spring.elasticsearch.rest.uris
property must point to running Elasticsearch server. (ex. http://localhost:9200/)
3DS Admin Configuration
With the following configuration the 3DS Admin application will use the Elasticsearch storage for searching the transaction logs in the Admin UI.
threedss.transaction-logs.search.source
must have value elasticsearch. The property can accept only one value.spring.elasticsearch.rest.uris
property must point to running Elasticsearch server. (ex. http://localhost:9200/)