Update a runtime field

Base URL
https://{kibana_url}
Auth

Update an existing runtime field in a data view. Only the fields provided in the request body are updated.

Path parameters

fieldName string required

The name of the runtime field.

Example: hour_of_day
viewId string required

An identifier for the data view.

Example: ff959d40-b880-11e8-a6d9-e546fe2bba5f

Request body

runtimeField object required

The runtime field definition object.

You can update following fields:

  • type
  • script

Responses

200

Indicates a successful call.

Bad request

application/json
error string required
message string required
statusCode number required
Base URL
https://{kibana_url}