Configuring Elasticsearch Connection Settings
This section provides information about configuring internal or external Elasticsearch for API Gateway.
To configure Elasticsearch
1. In Command Central, navigate to Environments > Instances > All > API Gateway > Configuration.
2. Click Elasticsearch from the drop-down menu. The Elasticsearch section appears.
3. Provide Tenant name.
4. Select one of the following values in the Auto start field:
Yes - if you are using internal Elasticsearch.
No - if you are using external Elasticsearch.
5. If you are using external Elasticsearch, provide the Host and Port of the server where the Elasticsearch is running, in the Transport section. Else, do not enter any values in those fields.
6. If the Elasticsearch is protected with basic authorization, provide the user name and password in the Authentication section.
7. If the Elasticsearch is protected with HTTPS, perform the following in the SSL section:
a. Select the Enable check box.
b. Provide valid Keystore and Truststore details.
8. Provide additional configurations that defines the API Gateway's connectivity to Elasticsearch in the Additional Information section.
9. Save your changes.
The Pending restart value is changed to true and Status is Enabled.
10. Restart the API Gateway instance.
The Elasticsearch details are updated in API Gateway.