Update an existing dashboard
Technical Preview
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
Body
-
Additional properties are NOT allowed.
Hide attributes attributes Show attributes attributes object
-
Additional properties are NOT allowed.
Hide controlGroupInput attributes Show controlGroupInput attributes object
-
Show apply selections button in controls.
Default value is
true
. -
The chaining strategy for multiple controls. For example, "HIERARCHICAL" or "NONE".
Values are
NONE
orHIERARCHICAL
. Default value isHIERARCHICAL
. -
An array of control panels and their state in the control group.
Default value is
[]
(empty).Hide controls attributes Show controls attributes object
-
Additional properties are allowed.
-
Expand width of the control panel to fit available space.
Default value is
false
. -
The unique ID of the control.
-
The order of the control panel in the control group.
-
The type of the control panel.
-
Minimum width of the control panel in the control group.
Values are
small
,medium
, orlarge
. Default value ismedium
.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide ignoreParentSettings attributes Show ignoreParentSettings attributes object
-
Ignore global filters in controls.
Default value is
false
. -
Ignore the global query bar in controls.
Default value is
false
. -
Ignore the global time range in controls.
Default value is
false
. -
Ignore validations in controls.
Default value is
false
.
-
-
Position of the labels for controls. For example, "oneLine", "twoLine".
Values are
oneLine
ortwoLine
. Default value isoneLine
.
-
-
A short description.
Default value is empty.
-
A container for various metadata
Default value is
{}
(empty). Additional properties are NOT allowed.Hide kibanaSavedObjectMeta attribute Show kibanaSavedObjectMeta attribute object
-
Additional properties are allowed.
Hide searchSource attributes Show searchSource attributes object
-
A filter for the search source.
Hide filter attributes Show filter attributes object
-
Additional properties are NOT allowed.
-
Additional properties are allowed.
-
Additional properties are allowed.
-
-
Additional properties are NOT allowed.
Hide query attributes Show query attributes object
-
-
-
-
Additional properties are NOT allowed.
Hide options attributes Show options attributes object
-
Hide the panel titles in the dashboard.
Default value is
false
. -
Synchronize colors between related panels in the dashboard.
Default value is
true
. -
Synchronize cursor position between related panels in the dashboard.
Default value is
true
. -
Synchronize tooltips between related panels in the dashboard.
Default value is
true
. -
Show margins between panels in the dashboard layout.
Default value is
true
.
-
-
Default value is
[]
(empty).Hide panels attributes Show panels attributes object
-
Additional properties are NOT allowed.
Hide gridData attributes Show gridData attributes object
-
The height of the panel in grid units
Minimum value is
1
. Default value is15
. -
The unique identifier of the panel
-
The width of the panel in grid units
Minimum value is
1
, maximum value is48
. Default value is24
. -
The x coordinate of the panel in grid units
-
The y coordinate of the panel in grid units
-
-
The saved object id for by reference panels
-
Additional properties are allowed.
Hide panelConfig attributes Show panelConfig attributes object
-
The description of the panel
-
Additional properties are allowed.
-
Set to true to hide the panel title in its container.
-
The unique id of the library item to construct the embeddable.
-
The title of the panel
-
The version of the embeddable in the panel.
-
-
The unique ID of the panel.
-
The title of the panel
-
The embeddable type
-
The version was used to store Kibana version information from versions 7.3.0 -> 8.11.0. As of version 8.11.0, the versioning information is now per-embeddable-type and is stored on the embeddable's input. (panelConfig in this type).
-
-
A container for various refresh interval settings
Additional properties are NOT allowed.
Hide refreshInterval attributes Show refreshInterval attributes object
-
A human-readable string indicating the refresh frequency. No longer used.
-
Whether the refresh interval is set to be paused while viewing the dashboard.
-
No longer used.
-
A numeric value indicating refresh frequency in milliseconds.
-
-
An ISO string indicating when to restore time from
-
Whether to restore time upon viewing this dashboard
Default value is
false
. -
An ISO string indicating when to restore time from
-
A human-readable title for the dashboard
-
Responses
-
Hide response attribute Show response attribute object
-
Additional properties are allowed.
Hide item attributes Show item attributes object
-
Additional properties are NOT allowed.
Hide attributes attributes Show attributes attributes object
-
Additional properties are NOT allowed.
Hide controlGroupInput attributes Show controlGroupInput attributes object
-
Show apply selections button in controls.
Default value is
true
. -
The chaining strategy for multiple controls. For example, "HIERARCHICAL" or "NONE".
Values are
NONE
orHIERARCHICAL
. Default value isHIERARCHICAL
. -
An array of control panels and their state in the control group.
Default value is
[]
(empty).Hide controls attributes Show controls attributes object
-
Additional properties are allowed.
-
Expand width of the control panel to fit available space.
Default value is
false
. -
The unique ID of the control.
-
The order of the control panel in the control group.
-
The type of the control panel.
-
Minimum width of the control panel in the control group.
Values are
small
,medium
, orlarge
. Default value ismedium
.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide ignoreParentSettings attributes Show ignoreParentSettings attributes object
-
Ignore global filters in controls.
Default value is
false
. -
Ignore the global query bar in controls.
Default value is
false
. -
Ignore the global time range in controls.
Default value is
false
. -
Ignore validations in controls.
Default value is
false
.
-
-
Position of the labels for controls. For example, "oneLine", "twoLine".
Values are
oneLine
ortwoLine
. Default value isoneLine
.
-
-
A short description.
Default value is empty.
-
A container for various metadata
Default value is
{}
(empty). Additional properties are NOT allowed.Hide kibanaSavedObjectMeta attribute Show kibanaSavedObjectMeta attribute object
-
Additional properties are allowed.
Hide searchSource attributes Show searchSource attributes object
-
A filter for the search source.
Hide filter attributes Show filter attributes object
-
Additional properties are NOT allowed.
-
Additional properties are allowed.
-
Additional properties are allowed.
-
-
Additional properties are NOT allowed.
Hide query attributes Show query attributes object
-
-
-
-
Additional properties are NOT allowed.
Hide options attributes Show options attributes object
-
Hide the panel titles in the dashboard.
Default value is
false
. -
Synchronize colors between related panels in the dashboard.
Default value is
true
. -
Synchronize cursor position between related panels in the dashboard.
Default value is
true
. -
Synchronize tooltips between related panels in the dashboard.
Default value is
true
. -
Show margins between panels in the dashboard layout.
Default value is
true
.
-
-
Default value is
[]
(empty).Hide panels attributes Show panels attributes object
-
Additional properties are NOT allowed.
Hide gridData attributes Show gridData attributes object
-
The height of the panel in grid units
Minimum value is
1
. Default value is15
. -
The width of the panel in grid units
Minimum value is
1
, maximum value is48
. Default value is24
. -
The x coordinate of the panel in grid units
-
The y coordinate of the panel in grid units
-
-
The saved object id for by reference panels
-
Additional properties are allowed.
Hide panelConfig attributes Show panelConfig attributes object
-
The description of the panel
-
Additional properties are allowed.
-
Set to true to hide the panel title in its container.
-
The unique id of the library item to construct the embeddable.
-
The title of the panel
-
The version of the embeddable in the panel.
-
-
The title of the panel
-
The embeddable type
-
The version was used to store Kibana version information from versions 7.3.0 -> 8.11.0. As of version 8.11.0, the versioning information is now per-embeddable-type and is stored on the embeddable's input. (panelConfig in this type).
-
-
A container for various refresh interval settings
Additional properties are NOT allowed.
Hide refreshInterval attributes Show refreshInterval attributes object
-
A human-readable string indicating the refresh frequency. No longer used.
-
Whether the refresh interval is set to be paused while viewing the dashboard.
-
No longer used.
-
A numeric value indicating refresh frequency in milliseconds.
-
-
An ISO string indicating when to restore time from
-
Whether to restore time upon viewing this dashboard
Default value is
false
. -
An ISO string indicating when to restore time from
-
A human-readable title for the dashboard
-
-
Additional properties are NOT allowed.
-
-
curl \
--request PUT 'http://localhost:5601/api/dashboards/dashboard/{id}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"attributes":{"controlGroupInput":{"autoApplySelections":true,"chainingSystem":"HIERARCHICAL","controls":[{"controlConfig":{},"grow":false,"id":"string","order":42.0,"type":"string","width":"medium"}],"enhancements":{},"ignoreParentSettings":{"ignoreFilters":false,"ignoreQuery":false,"ignoreTimerange":false,"ignoreValidations":false},"labelPosition":"oneLine"},"description":"","kibanaSavedObjectMeta":{"searchSource":{"filter":[{"$state":{"store":"appState"},"meta":{"alias":"string","controlledBy":"string","disabled":true,"field":"string","group":"string","index":"string","isMultiIndex":true,"key":"string","negate":true,"type":"string","value":"string"},"query":{}}],"query":{"language":"string","query":"string"},"sort":[{}],"type":"string"}},"options":{"hidePanelTitles":false,"syncColors":true,"syncCursor":true,"syncTooltips":true,"useMargins":true},"panels":[{"gridData":{"h":15,"i":"string","w":24,"x":42.0,"y":42.0},"id":"string","panelConfig":{"description":"string","enhancements":{},"hidePanelTitles":true,"savedObjectId":"string","title":"string","version":"string"},"panelIndex":"string","panelRefName":"string","title":"string","type":"string","version":"string"}],"refreshInterval":{"display":"string","pause":true,"section":42.0,"value":42.0},"timeFrom":"string","timeRestore":false,"timeTo":"string","title":"string","version":42.0},"references":[{"id":"string","name":"string","type":"string"}]}'