Creating Elasticsearch 5.x Input Data Source
The Elasticsearch 5.x connector allows you to connect and access data from an Elasticsearch cluster using Transport Client.
NOTE |
· To enable the Elasticsearch 5.x connector, refer to Elasticsearch Connectors Dependency Installation for more information on how to copy the provided dependency files to the Lib folder. · The Elasticsearch 5.x connector supports Elasticsearch 5.x versions, starting from version 5.3. · Elasticsearch 6.x and Elasticsearch 7.x connectors will not work in a single Panopticon Streams Server instance due to conflicting Elasticsearch API dependencies.
|
Steps:
1. In the New Data Source page, select Input > Elasticsearch 5.x in the Connector drop-down list.
2. Enter the following information:
Property |
Description |
Host |
The hostname of any node in your Elasticsearch cluster, or localhost for a node on your local machine. |
Port |
The port running the Elasticsearch HTTP service (default is 9300). If the port you wish to use is different from the default port, change the value to the correct one. |
User Id |
The username used to connect to the Elasticsearch 5.x service. |
Password |
The password used to connect to the Elasticsearch 5.x service. Check the Show Characters box to display the entered password characters. |
Cluster Name |
The cluster name that can be used to discover and auto-join nodes. |
Index Name |
The Index name in Elasticsearch. This is some type of data organization mechanism that allows partition of data in a certain way. |
3. Enter an optional JSON-encoded request body in the Query box.
4. Click . The new data source is added in the Data Sources panel.