Prerequisites
- An OpenSearch cluster reachable from the internet over HTTPS, or from wherever your CloudThinker deployment runs.
- A basic-auth user scoped to the indices this workspace should reach — not the cluster admin.
Setup
1
Create a dedicated user
In your cluster’s security settings, create a user with read access to the indices agents should investigate.
2
Add the connection in CloudThinker
Navigate to Connections → OpenSearch and enter:
- Cluster URL: the cluster endpoint, such as
https://opensearch.internal:9200 - Username and Password: the dedicated user’s credentials
- Connection timeout (seconds): a value such as
15— without it, an unreachable cluster stalls the conversation turn instead of failing
Connection details
A TLS verification failure surfaces as a hung call rather than an error, so set Connection timeout (seconds) whenever you change Verify TLS certificate.
Required permissions
Grant the user read access to the target indices and cluster health. The connection exposes only read operations — list indices, read mappings, search, count, multi-search, shard and cluster health checks, and query explanations — so write permissions on the user are wasted surface.Agent capabilities
Once connected, agents have read access to your cluster:Verify the connection
Example prompts
Troubleshooting
Calls hang instead of failing
Calls hang instead of failing
The cluster is unreachable, or TLS verification is failing against a self-signed certificate. Set Connection timeout (seconds), and set Verify TLS certificate to
false only if the cluster genuinely serves a self-signed certificate.Agent cannot see an index
Agent cannot see an index
The basic-auth user lacks read access to that index. Widen the user’s index permissions in the cluster’s security settings.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Read-only surface — the connection cannot write, delete, or change cluster settings, whatever the user’s permissions allow.
- TLS verification on — keep certificate verification enabled unless the cluster serves a self-signed certificate you trust.
Related
Elasticsearch Connection
Search and log analytics
Graylog Connection
Centralized log management