Logo
Akamai APIs API Documentation

List data set fields

GET https://{{host}}/datastream-config-api/v2/log/datasets-fields

Returns the list of available data set fields you can choose to monitor in your logs in a stream configuration. Set the productId query parameter to get data sets available for a specific product. See the Create a stream or Edit a stream operations.

 

Body PARAM

Key Datatype Required Description 
productId
string (Optional) Uniquely identifies the product, and allows listing data sets available for that product. In the [List data set fields](https://techdocs.akamai.com/datastream2/reference/get-dataset-fields) operation, you can provide one `productId` per API call.



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "datasetFields": [ { "datasetFieldDescription": "The unique identifier of the stream that handled the request.", "datasetFieldGroup": "Log information", "datasetFieldId": 999, "datasetFieldJsonKey": "streamId", "datasetFieldName": "Stream ID" }, { "datasetFieldDescription": "The Content Provider code associated with the request.", "datasetFieldGroup": "Log information", "datasetFieldId": 1000, "datasetFieldJsonKey": "cp", "datasetFieldName": "CP code" }, { "datasetFieldDescription": "The identifier of the request.", "datasetFieldGroup": "Log information", "datasetFieldId": 1002, "datasetFieldJsonKey": "reqId", "datasetFieldName": "Request ID" }, { "datasetFieldDescription": "The time when the edge server accepted the request from the client.", "datasetFieldGroup": "Log information", "datasetFieldId": 1100, "datasetFieldJsonKey": "reqTimeSec", "datasetFieldName": "Request time" }, { "datasetFieldDescription": "The number of attempts to download the content from the edge in a specific time interval, based on the number of total manifest requests received.", "datasetFieldGroup": "Log information", "datasetFieldId": 2024, "datasetFieldJsonKey": "edgeAttempts", "datasetFieldName": "Edge attempts" }, { "datasetFieldDescription": "The content bytes served in the response.", "datasetFieldGroup": "Message exchange data", "datasetFieldId": 1005, "datasetFieldJsonKey": "bytes", "datasetFieldName": "Bytes" }, { "datasetFieldDescription": "The IP address of the client.", "datasetFieldGroup": "Message exchange data", "datasetFieldId": 1006, "datasetFieldJsonKey": "cliIP", "datasetFieldName": "Client IP" }, { "datasetFieldDescription": "The HTTP status code of the response.", "datasetFieldGroup": "Message exchange data", "datasetFieldId": 1008, "datasetFieldJsonKey": "statusCode", "datasetFieldName": "HTTP status code" }, {
Curl
curl -X GET 'https://host/datastream-config-api/v2/log/datasets-fields?productId=' -H 'Accept: application/json'

ENDPOINTS