Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.1 KB

README.mdx

File metadata and controls

23 lines (18 loc) · 1.1 KB
id slug title description date tags
kibDataViewsPlugin
/kibana-dev-docs/services/data-views-plugin
Data Views services
The data views plugin contains services for dealing with Kibana's Data Views.
2022-10-05
kibana
dev
contributor
api docs
data views
has data

Data Views

The data views API provides a consistent method of structuring and formatting documents and field lists across the various Kibana apps. It's typically used in conjunction with for composing queries.

Note: Kibana index patterns are currently being renamed to data views. There will be some naming inconsistencies until the transition is complete.

Services

hasData: A standardized way to check the empty state for indices and data views.

  • hasESData: () => Promise<boolean>; // Check to see if ES data exists
  • hasDataView: () => Promise<boolean>; // Check to see if data view exists (managed or user created)
  • hasUserDataView: () => Promise<boolean>; // Check to see if user created data views exists