datasets

POST /datasets/{dataset_id}/mapfields

Changed on

Configures a field as a map field. Events you ingest afterward store the field's nested keys inside the map, while previously ingested events keep their structure. Not supported for metrics datasets.

Request

Path parameters

dataset_idstring required

Request body

namestring required

Example request

{
  "name": "fieldname"
}

Response

Created map field.

namestring required

Example response

{
  "name": "fieldname"
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status