create_dashboard
Create a new Splunk dashboard by providing a name and definition in Classic Simple XML or Dashboard Studio JSON format, with options to set permissions, sharing, and overwrite existing ones.
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 wrapping JSON: 'light', 'dark', or 'auto' (default: 'auto'). With 'auto', reads uiSettings.theme / theme from Studio JSON or pre-wrapped XML; falls back to 'dark'. Ignored for Classic Simple XML. | auto |