IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get all data views API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Get all data views API
edit[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. Retrieve a list of all data views.
For the most up-to-date API details, refer to the open API specification.
Request
editGET <kibana host>:<port>/api/data_views
GET <kibana host>:<port>/s/<space_id>/api/data_views
Response code
edit-
200
- Indicates a successful call.
Example
editRetrieve the list of data views:
$ curl -X GET api/data_views
The API returns a list of data views:
{ "data_view": [ { "id": "e9e024f0-d098-11ec-bbe9-c753adcb34bc", "namespaces": [ "default" ], "title": "tmp*", "type": "rollup", "typeMeta": {} }, { "id": "90943e30-9a47-11e8-b64d-95841ca0b247", "namespaces": [ "default" ], "title": "kibana_sample_data_logs" } ] }