You can interface with external Elasticsearch or Kafka clusters by writing YAML configurations. Depending on your business requirements, you can choose to interface with only the external Elasticsearch cluster (while installing Kafka in the current cluster), or you can interface with both the external Elasticsearch and Kafka clusters simultaneously.
The supported versions for interfacing with external Elasticsearch are as follows:
Before interfacing, you need to prepare the required credential information.
In the left navigation bar, click on Cluster Management > Resource Management, then switch to the cluster that needs the plugin installation.
Click on Create Resource Object, and fill in the code box after modifying the parameters according to the code comments.
Credentials required for interfacing with external Elasticsearch:
If you need to use an external Kafka cluster, you will also need to create credentials for interfacing with the external Kafka cluster:
In the left navigation bar, click on App Store > Plugin Management.
In the top navigation, select the Cluster Name where you want to install the ACP Log Storage with Elasticsearch plugin.
Click the action button on the right side of ACP Log Storage with Elasticsearch > Install.
Enable the Interface with External Elasticsearch switch, configure the YAML file, with the interfacing example and parameter descriptions as follows:
Interfacing with the external Elasticsearch cluster while installing Kafka in the current cluster:
Interfacing with both the external Elasticsearch cluster and the external Kafka cluster: