List data set fields

Returns the list of available data set fields you can choose to monitor in your logs in a stream configuration. Use the logType and productId parameters to get data sets available for a specific log type or product. Run this operation to get the datasetFieldId and datasetFieldName values you need to create or edit a stream.

Path Params
string
required

Enum Defines the stream's log type: CDN, EdgeWorkers, Edge DNS or Global Traffic Management logs. For details, see Log types.

Query Params
string

Filters down results for a specific product, and allows listing data sets available for it. In the List data set fields operation, you can provide one productId per API call.

Response

Response body
object
datasetFields
array of objects
required

Lists the data set groups and fields that the stream logs.

datasetFields*
object
string

Describes the data set field.

string
required

The data set group's name.

integer
required

Identifies the field.

string
required

Specifies the JSON key for the field in a log line. You can get this value only when you run the List data set fields or Get a stream operation for a stream in the JSON format.

string
required

The data set field's name.

Language
Authentication
URL