Supported Backends
Elasticsearch
Configuring the Elasticsearch backend (Self-Hosted)
Getting Started
Configuring Destination Fields
- ELASTICSEARCH_URL
string
: Elasticsearch URL. Elasticsearch endpoint. Port defaults to9200
if not specified- This field is required
- Example:
http://host:port
- ES_TRACES_INDEX
string
: Traces Index. The name of the index where traces will be stored- This field is optional and defaults to
trace_index
- This field is optional and defaults to
- ES_LOGS_INDEX
string
: Logs Index. The name of the index where logs will be stored.- This field is optional and defaults to
log_index
- This field is optional and defaults to
- ELASTICSEARCH_BASIC_AUTH_ENABLED
boolean
: Enable HTTP Basic Authentication.- This field is optional
- ELASTICSEARCH_USERNAME
string
: Username. Username used for HTTP Basic Authentication- This field is optional
- ELASTICSEARCH_PASSWORD
string
: Password. Password used for HTTP Basic Authentication- This field is optional
- ELASTICSEARCH_TLS_ENABLED
boolean
: Enable TLS. Secure connection (Transport Layer Security)- This field is optional
- ELASTICSEARCH_CA_PEM
string
: CA Certificate. When using TLS, provide the CA certificate to verify the server. If empty uses system root CA- This field is optional
- Example:
-----BEGIN CERTIFICATE-----
Adding Destination to Odigos
There are two primary methods for configuring destinations in Odigos:
Using the UI
1
Use the Odigos CLI to access the UI
2
Click on Add Destination
, select Elasticsearch
and follow the on-screen instructions
Using Kubernetes manifests
1
Save the YAML below to a file (e.g. elasticsearch.yaml
)
2
Apply the YAML using kubectl