connect_log_source
Propose connecting the log source Ankra derived from this cluster's installed addons (the one a query_logs refusal named). Pass EXACTLY the provider and endpoint from that refusal - both are re-derived server-side at execution and the call is refused on any mismatch, so never invent or edit them. The action requires an organisation admin's confirmation; on confirm the endpoint is first verified with the existing read-only probe (a failed probe writes nothing), then the source is registered in the resource graph as the cluster's log_source, inheriting GitOps, audit, drift detection and IaC export. An in-cluster Service endpoint needs no credential - the agent relay dials it from inside the cluster - so never ask the user for one. Do not use this to repair a misconfigured existing source. If the store runs OUTSIDE the cluster, or the derived endpoint does not match what the release actually renders, re-propose the correct endpoint with endpoint_is_operator_supplied=true: derivation only sees installed addons, so neither case can be derived and neither is a reason to refuse the connection. Admin confirmation and the read-only probe apply either way. If the external store requires authentication (the probe answers 401/403), pass credential_from_cluster_id naming a cluster in this organisation whose log source already queries the same store: the server copies that cluster's saved credential by reference and probes with it. NEVER ask the user to paste a password or token into chat - secret material must not transit this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | The endpoint URL. Copy verbatim from the refusal's derived-candidate sentence, or supply the correct one with endpoint_is_operator_supplied=true when the store is external or the derived endpoint is wrong. Must be an http:// or https:// URL. Private and in-cluster addresses are fine; loopback, link-local (including the cloud metadata address) and multicast are refused. | |
| provider | Yes | The provider. Copy verbatim from the refusal's derived-candidate sentence, or supply it with endpoint_is_operator_supplied=true. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| credential_from_cluster_id | No | UUID of another cluster in the SAME organisation whose saved log credential should authenticate this source. Valid ONLY together with endpoint_is_operator_supplied=true. The server verifies that cluster belongs to this organisation, loads its stored log_credential (name, username, auth scheme, and the secret material from the secret store), runs the read-only probe WITH it, and only on success copies the credential onto this cluster and registers the source naming it - no password or token ever passes through the chat or this tool call. Use it when the external store refuses the unauthenticated probe (401/403) and a sibling cluster already queries the same store; never ask the user to paste the secret instead. | |
| endpoint_is_operator_supplied | No | Set true ONLY when a person supplied this endpoint rather than copying Ankra's derived candidate. Derivation reads INSTALLED ADDONS, so it cannot name a store running outside the cluster (a managed OpenSearch, a hosted Prometheus) - that is the case this exists for. It skips the derived-candidate equality check ONLY: organisation-admin confirmation and the read-only probe still run, and the confirmation shows the endpoint as supplied rather than derived. Never set it to pass off an endpoint you inferred yourself. |