WAF Insights does not support automation via our REST API web service. If you are currently using WAF Insights, upgrade your WAF solution to take advantage of our REST API.
Lists the available event log fields.
This endpoint only supports JSON.
A request to retrieve a list of fields is described below.
HTTP Method | Request URI |
---|---|
GET |
https://api.edgecast.com/v2/mcc/customers/AccountNumber/defend/rate_limiting/eventlogs/fields |
Define the following term when submitting the above request:
Description | |
---|---|
Required |
|
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request contains the following response parameters:
Name | Data Type | Description |
---|---|---|
fields |
Array |
This response parameter contains the set of available event log fields. |
name |
String |
fields array Identifies an event log field by its name. |
data_type |
String |
fields array Indicates the event log field's data type. Valid values are:
|
description |
String |
fields array Provides a brief description of the event log field's purpose. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.edgecast.com/v2/mcc/customers/0001/defend/rate_limiting/eventlogs/fields HTTP/1.1
Authorization: TOK:12345678-1234-1234-1234-1234567890ab
Accept: application/json
Content-Type: application/json
Host:api.edgecast.com
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 2196
{ "fields" : [{ "name" : "id", "data_type" : "string", "description" : "ID of event" }, { "name" : "Timestamp", "data_type" : "date", "description" : "timestamp of log entry as UTC timestamp" }, { "name" : "Rate Limiting Enforcement Rule ID", "data_type" : "string", "description" : "Rate Limiting Enforcement Rule ID" }, { "name" : "Rate Limiting Enforcement Duration", "data_type" : "string", "description" : "Rate Limiting Enforcement Duration" }, { "name" : "Rate Limiting Enforcement Percentage", "data_type" : "string", "description" : "Rate Limiting Enforcement Percentage" }, { "name" : "Rate Limiting Enforcement Type", "data_type" : "string", "description" : "Rate Limiting Enforcement type" }, { "name" : "Rate Limiting Enforcement Tuple ID", "data_type" : "string", "description" : "The internal ID of a tuple." }, { "name" : "Rate Limiting Enforcement Start Epoch", "data_type" : "string", "description" : "Rate Limiting Enforcement start time in seconds since epoch" }, { "name" : "File extension", "data_type" : "string", "description" : "File extension of the requested URI" }, { "name" : "Host", "data_type" : "string", "description" : "Hostname from request" }, { "name" : "Referer", "data_type" : "string", "description" : "Referer from request" }, { "name" : "Request Method", "data_type" : "string", "description" : "HTTP Request Method" }, { "name" : "Status", "data_type" : "string", "description" : "HTTP status code for the response" }, { "name" : "Epoch Time", "data_type" : "epoch", "description" : "time of log event as epoch UTC" }, { "name" : "URL", "data_type" : "string", "description" : "URL from request" }, { "name" : "User Agent", "data_type" : "string", "description" : "The clients user-agent" }, { "name" : "Client IP", "data_type" : "ip", "description" : "Client IP from Request" }, { "name" : "Country Code", "data_type" : "string", "description" : "Two letter country code" } ] }