Skip to main content

Module data_views

Module data_views 

Source
Expand description

Typed data-view models and public Kibana route wrappers.

Structs§

DataView
A data view returned from its detail, create, or update route.
DataViewReference
A saved object that refers to a data view.
DataViewSpec
The portable, author-controlled data-view representation.
DataViewSummary
A list row returned by Kibana.
DataViewUpdate
The documented partial-update fields. None omits a field from the body.
DeleteStatus
The delete result returned by a reference swap.
ReferenceSwap
The affected references and deletion status from a reference swap.

Functions§

create
Create a data view with its explicit, portable id.
delete
Delete one unreferenced data view.
get
Get one data view by its stable id.
get_default
Get the active space’s default data-view id, if one is set.
list
List all data views in the active space.
preview_swap
Preview the saved-object references a swap would change.
set_default
Set a default data view, or clear it when id is None.
swap
Replace references and delete the source data view.
update
Apply the documented partial data-view update.
update_fields_metadata
Update the field metadata delta for one data view.