Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Elasticsearch

Create a Depot resource for Elasticsearch clusters.

To create an Elasticsearch Depot you must have the following details:

Pre-requisites specific to DataOS

A user with the Tenant Admin, Data Admin, or Data Developer Tenant role can create a Depot.

See Depot: Access control for who can create a Depot and how access to it is managed.

Run this command to see your assigned roles.

dataos-ctl user get
#Expected Output: 
time="2026-03-30T17:49:18+05:30" level=info msg="😃 user get..."
time="2026-03-30T17:49:19+05:30" level=info msg="😃 user get...complete"

     NAME     │        ID         │  TYPE  │        EMAIL         │                  TAGS
──────────────┼───────────────────┼────────┼──────────────────────┼────────────────────────────────────────
 I Am Groot   │ iamgroottmdcio    │ person │ iam.groot@tmdc.io    │ roles:id:ct-onboarding-data-developer,
              │                   │        │                      │ roles:id:user,
              │                   │        │                      │ users:id:iamgroottmdcio

Pre-requisites specific to the source system

  • Username: The username used to authenticate and access the Elasticsearch cluster. This is typically created and provided by the Elasticsearch admin during user setup or role assignment.

  • Password: The password associated with the Elasticsearch username for authentication. This is set during account creation and can be obtained securely from the Elasticsearch admin if forgotten.

  • Nodes (Hostname/URL of the server and ports): The addresses of one or more Elasticsearch nodes, including the hostname or URL and the port (e.g., node1.example.com:9200). These nodes form part of the cluster and are used to establish the connection. This information can be retrieved from the Elasticsearch admin or by checking the cluster configuration details.

Create an Elasticsearch Depot

A Depot of type elasticsearch connects to Elasticsearch and reads its documents for text queries and analytics. The Depot exposes every document visible to the configured user. To create a Depot of type elasticsearch, follow these steps:

Step 1: Create a Secret for securing Elasticsearch credentials

Create a Secret Resource using the Elasticsearch guide.

Step 2: Create an Elasticsearch Depot manifest file

Create a manifest file for your Elasticsearch Depot.

Step 3: Apply the Depot manifest file

Apply the manifest with the DataOS CLI:

Verify the Depot creation

Verify the Depot in two ways:

  • List Depots where you are the owner:

  • List all Depots in the current Tenant:

Delete a Depot

To delete a Depot, use the DataOS CLI:

Specify the Resource type and Depot name in the delete command.

Example:

Last updated

Was this helpful?