The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted.
allowNoIndexboolean
Allows the data view saved object to exist before the data is available.
fieldFormatsobject
A map of field formats by field name.
fieldsobject
namestring
runtimeFieldMapmapstring to object
<string>object
scriptobjectrequired
sourcestring
Script for the runtime field.
typestringrequired
Mapping type of the runtime field.
sourceFiltersobject[]
The array of field names you want to filter out in Discover.
valuestringrequired
timeFieldNamestring
The timestamp field name, which you use for time-based data views.
titlestring
Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (*).
typestring
When set to rollup, identifies the rollup data views.
typeMetaobject
When you use rollup indices, contains the field list for the rollup data view API endpoints.
aggsobjectrequired
A map of rollup restrictions by aggregation type and field name.
paramsobjectrequired
Properties for retrieving rollup fields.
refresh_fieldsboolean · default: false
Reloads the data view fields after the data view is updated.