Get RTLD Rate Limiting Profile

Retrieves a RTLD Rate Limiting profile.

Request

Retrieve a specific RTLD Rate Limiting profile via the following request:

HTTP Method Request URI

GET

https://api.vdms.io/rtld/v1/rl/profiles/ProfileID

Define the following variable when submitting the above request:

VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). Description

ProfileID

Required

Replace this variable with the system-defined ID assigned to the desired RTLD Rate Limiting profile.

Use the Get All RTLD Rate Limiting Profiles endpoint to find out the system-defined ID assigned to your RTLD Rate Limiting profile.

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).

Request Body

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request contains the following response elements:

Name Data Type Description

@id

String

Indicates the relative path for an endpoint that returns this profile.

@type

String

Returns RtldSetting.

account_number

String

Indicates your customer account number.

aws_s3

Object

Contains the configuration for the AWS S3 log delivery method.

azure_blob_storage

Object

Contains the configuration for the Azure Blob Storage log delivery method.

datadog

Object

Contains the configuration for the Datadog log delivery method.

delivery_method

String

Indicates the destination (e.g., aws_s3 or azure_blob_storage) to which log data will be delivered.

Learn more.

description

String

Indicates the log delivery profile's description.

downsampling_rate

Decimal

Indicates the rate at which log data will be downsampled.

RTLD will not downsample log data when this property is set to a null value.

enabled

Boolean

Indicates whether RTLD will use this profile to deliver log data. Valid values are: 

true | false

fields

Array of string values

Indicates the set of log fields that will be delivered.

Learn more.

filters

Object

Contains your log data filtering configuration.

gcs

Object

Contains the configuration for the Google Cloud Storage log delivery method.

http_post

Object

Contains the configuration for the HTTP POST log delivery method.

id

Integer

Indicates the system-defined ID for a RTLD Rate Limiting profile.

log_format

String

Indicates the log data's format. Valid values are:

json | json_array | json_lines

RTLD uses a default log format when this property is set to a null value.

Learn more.

new_relic

Object

Contains the configuration for the New Relic log delivery method.

profile_name

String

Indicates the log delivery profile's name.

splunk_enterprise

Object

Contains the configuration for the Splunk Enterprise log delivery method.

sumo_logic

Object

Contains the configuration for the Sumo Logic log delivery method.

aws_s3 Object

The aws_s3 object describes the AWS S3 log delivery method using the following properties:

Name Data Type Description

bucket

String

Indicates the AWS S3 bucket to which log data will be delivered.

prefix

String

Indicates the prefix that identifies a virtual log file storage location and/or a prefix that will be added to each object added to your bucket.

Learn more.

region

String

Indicates the region assigned to the AWS S3 bucket defined by the bucket parameter.

Learn more.

azure_blob_storage Object

The azure_blob_storage object describes the Azure Blob Storage log delivery method using the following properties:

Name Data Type Description

access_key

String

Indicates the access key through which log data uploads will be authorized.

access_type

String

Indicates whether log data uploads will be authorized via a SAS token or an access key.

masked_access_key

String

Indicates a masked value that represents the access key defined within the access_key element.

masked_token

String

Indicates a masked value that represents the SAS token defined within the token element.

prefix

String

Indicates a virtual log file storage location and/or a prefix that will be added to each log file added to your container.

Learn more.

token

String

Indicates the SAS token through which log data uploads will be authorized.

url

String

Indicates a URL that points to the Blob container to which log data will be posted.

Learn more.

datadog Object

The datadog object describes the Datadog log delivery method using the following properties:

Name Data Type Description

api_key

String

Indicates the encrypted API key through which log data uploads will be authorized.

masked_api_key

String

Indicates a masked value that represents the API key defined within the api_key element.

service_attribute_value

String

Indicates a value through which uploaded log data will be identified within the Datadog environment.

site

String

Indicates the Datadog site to which log data will be delivered. Valid values are:

us | eu

gcs Object

The gcs object describes the Google Cloud Storage log delivery method using the following properties:

Name Data Type Description

bucket

String

Indicates the Google Cloud Storage bucket to which log data will be delivered.

prefix

String

Indicates the prefix that identifies a virtual log file storage location and/or a prefix that will be added to each object added to your bucket.

Learn more.

filters Object

The filters object describes your log filtering configuration using the following properties:

Name Data Type Description
action_limit_id

Array of string values

Identifies one or more rate rule(s) by their system-defined IDs. Log data will be filtered for requests that violate these rate rule(s). A null value indicates that log data will not be filtered by a rate rule.

action_type

Array of string values

Identifies one or more enforcement action(s) by which log data will be filtered. A null value indicates that log data will not be filtered by an enforcement action.

Learn more (enf_type property).

action_type_condition

String

Indicates how log data will be filtered by enforcement action(s). Valid values are:

  • in: Filters log data to only include requests that point to the enforcement action(s) defined within the action_type property.
  • not_in: Filters log data to exclude requests that point to the enforcement action(s) defined within the action_type property.
client_ip

Array of string values

Identifies one or more IP address(es) by which log data will be filtered. A null value indicates that log data will not be filtered by an IP address.

client_ip_condition

String

Indicates how log data will be filtered by IP address(es). Valid values are:

  • in: Filters log data to only include requests that point to the IP address(es) defined within the client_ip property.
  • not_in: Filters log data to exclude requests that point to the IP address(es) defined within the client_ip property.
cnames

Array of string values

Identifies one or more edge CNAME(s) by which log data will be filtered. A null value indicates that log data will not be filtered by an edge CNAME.

cnames_condition

String

Indicates how log data will be filtered by edge CNAME(s). Valid values are:

  • in: Filters log data to only include requests that point to the edge CNAMEs defined within the cnames property.
  • not_in: Filters log data to exclude requests that point to the edge CNAMEs defined within the cnames property.
country_code

Array of string values

Indicates the set of countries (ISO 3166 country codes) by which log data will be filtered. A null value indicates that log data will not be filtered by a country.

country_code_condition

String

Indicates how log data will be filtered by country. Valid values are:

  • in: Filters log data to only include requests that originate from the countries defined within the country_code property.
  • not_in: Filters log data to exclude requests that originate from the countries defined within the country_code property.
request_method

Array of string values

Identifies one or more HTTP method(s) (e.g., GET) by which log data will be filtered. A null value indicates that log data will not be filtered by an HTTP method.

request_method_condition

String

Indicates how log data will be filtered by HTTP method(s). Valid values are:

  • in: Filters log data to only include requests that point to the HTTP methods defined within the request_method property.
  • not_in: Filters log data to exclude requests that point to the HTTP methods defined within the request_method property.
scope_name

Array of string values

Indicates the set of security application manager configurations by which log data will be filtered. A null value indicates that log data will not be filtered by a security application manager configuration.

url_regexp

String

Indicates a regular expression that identifies URLs by which log data will be filtered. A null value indicates that log data will not be filtered by a URL.

user_agent_regexp

String

Indicates a regular expression that identifies user agents by which log data will be filtered. A null value indicates that log data will not be filtered by a user agent.

http_post Object

The http_post object describes the HTTP POST log delivery method using the following properties:

Name Data Type Description

authentication_type

String

Indicates how log delivery requests will be authenticated to your web servers.

Learn more.

destination_endpoint

String

Indicates the absolute URL to which log data will be delivered.

masked_password

String

Indicates a masked value that represents the password defined within the password element.

masked_token

String

Indicates a masked value that represents the token defined within the token element.

password

String

Indicates the encrypted value of the password through which requests to your web server will be authenticated.

token

String

Indicates the token value that will be passed via the Authorization request header whenever log data is delivered to your web servers.

username

String

Indicates the user name through which requests to your web server will be authenticated.

new_relic Object

The new_relic object describes the New Relic log delivery method using the following properties:

Name Data Type Description

account_id

String

Indicates the system-defined ID for the New Relic account to which log data will be uploaded.

event_type

String

Indicates the label that identifies log data delivered to New Relic as a result of this profile. Specify a label that solely consists of alphanumeric characters, underscores, and colons.

insert_key

String

Indicates the Inserts insight API key through which log data uploads will be authorized.

masked_insert_key

String

Indicates a masked value that represents the Inserts insight API key defined within the insert_key element.

splunk_enterprise Object

The splunk_enterprise object describes the Splunk Enterprise log delivery method using the following properties:

Name Data Type Description

masked_token

String

Indicates a masked value that represents the token defined within the token element.

token

String

Indicates the token for the HTTP Event Collector configuration associated with the URL corresponding to the url parameter.

url

String

Indicates a URL that points to your Splunk Enterprise's HTTP Event Collector configuration.

sumo_logic Object

The sumo_logic object describes the Sumo Logic log delivery method using the following properties:

Name Data Type Description

masked_url

String

Indicates a masked value that represents the URL defined within the url element.

url

String

Indicates a URL that points to the HTTP source defined within Sumo Logic.

Errors

The response body for an unsuccessful request will contain an error response that provides additional information.

Sample Request and Response (JSON)

A sample JSON request is shown below.

A sample JSON response is shown below.

HTTP/1.1 200 OK

Cache-Control: no-cache

Content-Type: application/json; charset=utf-8

Date: Thu, 15 Apr 2021 12:00:00 GMT

Content-Length: 1563

{
	"@id": "/rtld/v1/rl/profiles/10512",
	"@type": "RtldSetting",
	"filters": {
		"country_code": ["US"],
		"country_code_condition": "in",
		"client_ip": ["10.20.20.22", "222.22.22.11", "123.123.123.22"],
		"client_ip_condition": "in",
		"action_type": null,
		"action_type_condition": null,
		"request_method": ["GET"],
		"request_method_condition": "in",
		"action_limit_id": null,
		"scope_name": null,
		"url_regexp": null,
		"cnames": ["cdn.example.com"],
		"cnames_condition": "in",
		"user_agent_regexp": null
	},
	"id": 10512,
	"account_number": "0001",
	"delivery_method": "http_post",
	"enabled": true,
	"fields": ["client_city", "client_ip", "client_country_code", "client_country", "host", "limit_action_duration", "limit_id", "limit_action_percentage", "limit_start_timestamp", "limit_action_type", "referer", "method", "scope_id", "scope_name", "url", "user_agent", "timestamp", "account_number"],
	"log_format": "json",
	"profile_name": "Rate Limited Requests",
	"description": "US rate limiting",
	"downsampling_rate": 1.0,
	"created_by": "3c2f1521-de40-41cf-a148-13be82731ceb",
	"created_on": "2021-09-07T21:45:49.992622Z",
	"last_modified_on": "2021-10-04T15:29:39.315301Z",
	"aws_s3": null,
	"http_post": {
		"destination_endpoint": "https://logs.example.com/rate-limiting/",
		"authentication_type": "none",
		"token": null,
		"username": null,
		"password": null
	},
	"sumo_logic": null,
	"splunk_enterprise": null,
	"azure_blob_storage": null,
	"datadog": null,
	"new_relic": null,
	"gcs": null
}