Elastic setup

o11ybot connects with your Kibana URL and a Kibana API key. Observability queries run as ES|QL against Elasticsearch; NightShift investigations and workflows use Kibana REST APIs. On Elastic Cloud the Elasticsearch URL is derived automatically from your Kibana host.

Quick start

  1. Open Kibana in your browser and copy the address from the URL bar, for example https://<project>.kb.<region>.<cloud>.elastic.cloud. If you use a non-default space, include /s/your-space.
  2. Create a Kibana API key (Stack Management → API keys) with read access to your observability data streams and, for NightShift / workflows, privileges such as Agent Builder read and workflows management read/execute.
  3. In o11ybot Settings, paste the Kibana URL and API key, then tap Test Connection. The app checks Elasticsearch with a tiny ES|QL query and Kibana /api/status.

What to enter in Settings

  • Kibana URL — the address from your browser while signed in to Kibana (no MCP path required).
  • API Key — the Kibana API key from step 2.
  • Advanced → Elasticsearch URL — leave blank on Elastic Cloud. Set this only for self-managed clusters or custom domains where the app cannot derive .es. from .kb..

Older installs that saved an Agent Builder MCP URL (…/api/agent_builder/mcp) still work — the app strips that path automatically.

Data in the app

The app queries standard Elastic Observability data streams (for example traces-generic.otel-default, logs-generic.otel-default, synthetics-browser-default, and host metrics). It discovers streams via Elasticsearch GET /_data_stream.

NightShift: investigations come from Kibana Agent Builder conversations for the NightShift investigation agent. Open an investigation for hypotheses, impact, and proposed actions.

Workflows: open Workflows from the NightShift toolbar. Definitions come from Kibana GET /api/workflows. See the Elastic documentation for ingest and NightShift.