create_dashboard
Creates a Splunk dashboard from Studio JSON or Classic XML. Supports overwriting existing dashboards and setting access permissions.
Instructions
Create a new dashboard in Splunk. Accepts Classic Simple XML (string) or Dashboard Studio JSON (object/string) via eai:data. Optionally overwrite if it exists and set sharing/permissions (ACL).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dashboard name (required) | |
| definition | Yes | Studio JSON (dict/string) or Classic XML (string) (required) | |
| owner | No | Dashboard owner. Default: 'nobody' | nobody |
| app | No | App context. Default: 'search' | search |
| label | No | Human label shown in UI | |
| description | No | Dashboard description | |
| dashboard_type | No | 'studio'|'classic'|'auto' (default: 'auto') | auto |
| sharing | No | 'user'|'app'|'global' | |
| read_perms | No | Roles/users granted read | |
| write_perms | No | Roles/users granted write | |
| overwrite | No | If True, updates existing dashboard of same name | |
| theme | No | Dashboard Studio UI theme when the tool wraps JSON into XML: 'light' or 'dark' (default: 'light'). Ignored for Classic Simple XML and when you pass a pre-wrapped Studio XML string (already containing <dashboard>). | light |