Create Data View
create_data_viewCreate a Kibana data view to visualize data from an index pattern. Optionally set a display name and time field (must be a date field); the name must be unused.
Instructions
Create a Kibana data view over an index pattern (e.g. 'logs-*'). Optionally set a display name and a time field (for time-series data). The time field must be a date field of the indices the pattern matches: a field they do not have, or one that is not a date, is refused with the pattern's date fields listed, and no data view is created. A pattern that matches no index yet is accepted, but its time field cannot be checked. The name (it defaults to the index pattern) must be unused; to change an existing view, call update_data_view.
space targets a Kibana space by id (default: the default space).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| space | No | ||
| time_field | No | ||
| index_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||