create_dashboard
Create a new dashboard in Splunk using Classic Simple XML or Dashboard Studio JSON. Set sharing permissions and optionally overwrite existing dashboards.
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).
Args: name (str): Dashboard name (required) definition (dict|str): Studio JSON (dict/string) or Classic XML (string) (required) owner (str, optional): Dashboard owner. Default: 'nobody' app (str, optional): App context. Default: 'search' label (str, optional): Human label shown in UI description (str, optional): Dashboard description dashboard_type (str, optional): 'studio'|'classic'|'auto' (default: 'auto') sharing (str, optional): 'user'|'app'|'global' read_perms (list[str], optional): Roles/users granted read write_perms (list[str], optional): Roles/users granted write overwrite (bool, optional): If True, updates existing dashboard of same name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| definition | Yes | ||
| owner | No | nobody | |
| app | No | search | |
| label | No | ||
| description | No | ||
| dashboard_type | No | auto | |
| sharing | No | ||
| read_perms | No | ||
| write_perms | No | ||
| overwrite | No |