Event Target for Elasticsearch
- An Elasticsearch cluster
- Elasticsearch credentials (username and password or API key)
Consult the Secrets guide for more information about how to add the Elasticsearch credentials as a secret.
Creating an Elasticsearch Cluster
Deploying an Instance of the Target
Open the Bridge creation screen and add a Target of type
In the Target creation form, provide a name for the event Target and add the following information:
- Index: Name of the index to write documents to.
- Addresses: List of URLs of Elasticsearch servers.
- Skip verify: Allow skipping of server certificate verification.
- CA certificate: CA certificate to be used by the event Target's client, in PEM format.
- Username: Elasticsearch username.
- Password: Reference a TriggerMesh secret containing a password to communicate with the Elasticsearch API, as discussed in the prerequisites.
- API key: Reference a TriggerMesh secret containing an API token to communicate with the Elasticsearch API, as discussed in the prerequisites.
When using a self-signed certificate you will need to either inform the CA certificate or set the Skip verify field.
After clicking the
Save button, the console will self-navigate to the Bridge editor. Proceed by adding the remaining components to the Bridge.
After submitting the Bridge, and allowing for some configuration time, a green check mark on the main Bridges page indicates that the Bridge with an Elasticsearch event Target was successfully created.
For more information about using Elasticsearch, please refer to the Elasticsearch documentation.
The Elasticsearch event Target can consume events of any type.