- STRUCTURE
- DATA
- FIELDS
- HUMAN
Short answer
How can I set up Kibana spaces and data views using AI?
You tell your AI what spaces and data views you need, and it executes the setup directly in Kibana. This covers everything from creating new spaces to adding runtime fields. You'll see the specific workflow and capabilities below.
Environment setup outcomes.
What your AI builds.
The AI handles the configuration so you don't have to click through the Kibana UI.
STRUCTURE
New Kibana spaces
The AI spins up isolated spaces for different projects. You get a clean, organized environment immediately.
DATA
Configured data views
Your AI builds the data views needed to visualize your logs. It maps the fields so your dashboards work right away.
FIELDS
Custom runtime fields
If your data needs extra logic, the AI adds runtime fields. This lets you manipulate data without changing the underlying index.
HUMAN
Manual oversight
You stay in control of the final configuration. The AI performs the heavy lifting, but you decide when a space is ready.
The workflow
What your AI does when the request arrives.
The AI translates your natural language instructions into specific Kibana API calls.
Identify existing spaces
The AI checks your current Kibana setup to see where it can work or if a new space is required.
list_spacesProvision new environments
It builds out the requested space to keep your work isolated and organized.
create_spaceMap your data
The AI creates or updates data views so your indices are searchable and ready for visualization.
create_data_viewupdate_data_viewAdd custom logic
It injects runtime fields into your data views to handle specific parsing or calculation needs.
create_runtime_field
Try it
Copy these to start.
Use these prompts to kick off your setup.
Starting points
Swap out the names in quotes for your actual space names or index patterns.
Kibana Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_IUe74WPcRluHtHTsIQFJysYv3KHxYDAuXRm5Mkvf/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Kibana capabilities are ready to use.
{
"mcpServers": {
"kibana-mcp": {
"url": "https://edge.vinkius.com/vk_preview_IUe74WPcRluHtHTsIQFJysYv3KHxYDAuXRm5Mkvf/mcp"
}
}
}Create a new Kibana space named 'Security Operations'.
Set up a data view for the 'logs-*' index pattern in my current space.
Add a runtime field to my 'web-traffic' data view to calculate request duration.
List all the spaces currently available in my Kibana instance.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Kibana once, then ask.
Just link your account. Your credentials stay encrypted, and you can immediately start managing your Kibana environment through your AI client.
Connect Kibana to your AIFAQ
How this task behaves.
- 01
Can the AI delete existing spaces?
No. The current tools only allow for listing and creating spaces, not deleting them.
- 02
Will the AI change my existing index patterns?
The AI can update data views and add runtime fields, but it does not modify the raw data in your indices.
- 03
Do I need to use the Kibana UI after the AI is done?
You don't have to, but you can. The AI performs the setup in the background, so your Kibana dashboard will reflect the changes immediately.
- 04
Can the AI create users?
No. User management and permissions are not supported by these tools.
- 05
How does the AI know which space to use?
You should specify the space name in your prompt. If you don't, the AI will check your existing spaces to determine the context.
More questions about Kibana? The Connector page answers them. See everything the Kibana Connector can do
Connect Kibana to Claude, Cursor, ChatGPT & more
