Documentation Index
Fetch the complete documentation index at: https://cubed3-docs-cub-2416-update-semantic-snowflake-semantic-vie.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
To connect to an Elasticsearch database, useCUBEJS_DB_URL
with the username and password embedded in the URL, if required.
Setup
Manual
For a self-hosted Elasticsearch instance, add the following to a.env file in
your Cube project:
.env file in your Cube project:
Environment Variables
| Environment Variable | Description | Possible Values | Required |
|---|---|---|---|
CUBEJS_DB_URL | The URL for a database | A valid database URL for Elasticsearch | β |
CUBEJS_DB_ELASTIC_QUERY_FORMAT | By default, queries return data in JDBC format, but you can also return data in standard Elasticsearch JDBC, JSON, CSV, YAML or raw formats (only JSON and JDBC are currently supported) | json, jdbc | β |
CUBEJS_DB_ELASTIC_OPENDISTRO | If true, then use the Open Distro for Elasticsearch | true, false | β |
CUBEJS_DB_ELASTIC_APIKEY_ID | ID of the API key from elastic.co | A valid Elastic.co API key ID | β |
CUBEJS_DB_ELASTIC_APIKEY_KEY | Value of the API key from elastic.co | A valid Elastic.co API key value | β |
CUBEJS_DB_MAX_POOL | The maximum number of concurrent database connections to pool. Default is 8 | A valid number | β |
CUBEJS_CONCURRENCY | The number of concurrent queries to the data source | A valid number | β |