Administering Digital Event Services : Configuring Services : Configuring Event Persistence Services : Configuring Event Persistence Services for Elasticsearch
Configuring Event Persistence Services for Elasticsearch
With Event Persistence services, you can store events to an Elasticsearch 2.3.2 storage engine.
Note:  
Event Persistence does not support Elasticsearch clusters with Shield enabled.
When using Elasticsearch, you can persist events using Secure Socket Layer (SSL). For more information about persisting events over SSL to an Elasticsearch instance, see Configuring SSL for Event Persistence.
To create Digital Event Services (DES) services of type Event Persistence for Elasticsearch:
1. In Command Central, navigate to Environments > Instances > All > instance_name > Digital Event Services > Configuration.
2. Select Event Persistence from the drop-down menu.
3. Click , and then select Elasticsearch 2.3.2 for the service type.
4. Specify values for the following fields:
Parameter
Description
Service Name
Required. The name of the new service. Specify a unique service name that starts with a character. Valid separator characters are periods (.) and dashes (-). The service name is not case-sensitive.
Note:  
You cannot rename an existing service. If you want to modify the service name, you must delete the existing service and create a new one with a different name.
Service Description
Optional. A description of the new service.
Cluster URI(s)
Required. A comma-separated list of servers in an Elasticsearch cluster to which the Event Persistence service can connect. If the initial host is unavailable, Event Persistence attempts to connect to the other servers in the cluster. Specify the URI of the servers in the Elasticsearch cluster as follows: elasticsearch://host:port, where host is the host name of the server, and port is the port on which the server listens for incoming requests.
The default value is elasticsearch://localhost:9300.
Cluster Name
Required. The name of the Elasticsearch cluster.
Index Name
Required. The name of the index in which the events are stored.
Core threads
Required. The number of threads to keep in the pool at all times. The default value is 5.
Maximum Threads
Required. The maximum number of threads on which to run bulk indexing tasks. The default value is 10.
Queue Size
Required. The size of the thread pools work queue. A value of 0 indicates an unlimited queue. A value other than 0 sets the number of pending bulk indexing tasks that can be queued before the processing thread blocks. The default value is 10.
Keep Alive(sec)
Required. The time limit in seconds for which threads remain idle before being terminated. The default value is 5.
Pre-Start Core Threads
Required. Whether the core threads start immediately rather than as work is pulled from the queue. Values are true or false (default).
Batch Size
Required. The number of events that are written to Elasticsearch with a single write operation. The default value is 1000.
Note:  
If the Elasticsearch service queues a batch of events before the batch write timer expires, the service immediately persists all queued events to Elasticsearch.
Batch Write Timer(sec)
Required. Batch write frequency in seconds. The default value is 15.
Note:  
If the batch write timer expires before the Elasticsearch service queues a batch of events, all currently queued events are persisted to Elasticsearch.
Enable SSL
Required. Enable or disable SSL for both REST and TCP ports. The default value is false.
For more information about how to configure SSL for Event Persistence, see Configuring SSL for Event Persistence.
Key Store
Optional. Specify the absolute file path to the Java KeyStore (JKS) file as follows: folder/sub_folder/filename.
Trust Store
Optional. Specify the absolute file path to the JKS truststore file as follows: folder/sub_folder/filename.
5. Optionally, click Test to verify that your configuration is valid.
6. Save your changes.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback