Commit bc73f69
committed
Fix dashboard XML: switch from <dashboard version=2> to Simple XML
The previous header (`<dashboard version="2" theme="dark">`) declared
Dashboard Studio (JSON definition format) while the body used Simple XML
elements (<row>/<panel>/<single>/<chart>/<table>). Splunk Web reported
"Layout undefined is not defined" because version=2 expects a JSON
<definition> block. Removed the version + theme attributes; the body is
already valid Simple XML. Dark theme is a per-user Splunk Web preference,
not a dashboard XML attribute.1 parent b008266 commit bc73f69
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments