RTLD may automatically deliver compressed log data to Sumo Logic by submitting HTTPS POST requests to it. Sumo Logic will collect these requests as they are pushed from the CDN. Each request contains a compressed JSON document that describes one or more log entries.
Learn more: RTLD CDN | RTLD Rate Limiting
The format for log data delivered to Sumo Logic is JSON Lines. This log format does not provide information that uniquely identifies a set of log data. As a result, there is no way to check for gaps in sequence numbers when attempting to identify missing log data.
To create a log delivery profile
Set up Sumo Logic to listen for CDN log data in JSON format.
Click Setup Wizard.
Click Set Up Streaming Data.
Click Your Custom App.
Click HTTP Source.
In the Source Category option, type the name of the tag that will be applied to CDN log data. This tag may be used to search for CDN log data within Sumo Logic.
Navigate to the Real-Time Log Delivery CDN | Rate Limiting
From the Downsample the Logs option, determine whether all or downsampledReduces the amount of log data that will be delivered. For example, you may choose to only deliver 1% of your log data. log data will be delivered.
Downsampled Log Data: Downsample logs to 0.1%, 1%, 25%, 50%, or 75% of total log data by enabling the Downsample the Logs option and then selecting the desired rate from the Downsampling Rate option.
Use this capability to reduce the amount of data that needs to be processed or stored by Sumo Logic.
RTLD CDN Only: Downsampling log data also reduces usage charges for this service.
Log delivery setup varies according to whether you are delivering log data for CDN traffic
From the Filter by Edge CNAME section, perform one of the following steps:
Filter log data by one or more edge CNAME(s)
Select one or more edge CNAMEs from the option directly to the right of the above option.
Filter the list by typing the entire or partial hostname. For example, typing co will filter the list to include all hostnames that contain co (e.g., cdn.example.com and corp.example.org).
Upload all log data regardless of edge CNAME
Verify that an edge CNAME has not been defined within this section.
From the Filter by User Agent option, perform one of the following steps:
Filter log data by user agent
Type a RE2-compatible regular expressionThis type of value is interpreted as a regular expression that defines a pattern of characters. pattern that identifies the set of user agents by which log data will be filtered.
Upload all log data regardless of user agent
Set it to a blank value.
From the Filter by Status Code section, perform one of the following steps:
Filter log data by status code
Mark each status code class (e.g., 2xx or 3xx) for which log data will be delivered. Clear all other status code classes.
Upload all log data regardless of status code
Clear all status code classes (e.g., 2xx and 3xx).
From the Log file contains the following fields section, perform the following steps:
Add the request headers, response headers, and cookies that will be logged for each request from the Custom Request Headers, Custom Response Headers, and Custom Cookies options.
You may either select or type the name of the desired headers and/or cookies. Click on the list to add additional headers or cookies. Remove a header or cookie by clicking on its x.
Although other settings take effect quickly, it may take up to 90 minutes before data for custom request/response headers and cookies is logged.
Add or clear all of the fields associated with a category by marking or clearing the category's header.
From the Filter by Edge CNAME section, perform one of the following steps:
Filter log data by one or more edge CNAME(s)
Select one or more edge CNAMEs from the option directly to the right of the above option.
Filter the list by typing the entire or partial hostname. For example, typing co will filter the list to include all hostnames that contain co (e.g., cdn.example.com and corp.example.org).
Upload all log data regardless of edge CNAME
Verify that an edge CNAME has not been defined within this section.
From the Filter by Country section, perform one of the following steps:
Filter log data by one or more countries:
Select one or more countries from the option directly to the right of the above option.
Filter the list by typing the entire or partial country name. For example, typing un will filter the list to include all countries that contain un (e.g., United States and United Kingdom).
Upload all log data regardless of country of origin:
Verify that a country has not been defined within this section.
From the Filter by User Agent option, perform one of the following steps:
Filter log data by user agent
Type a RE2-compatible regular expressionThis type of value is interpreted as a regular expression that defines a pattern of characters. pattern that identifies the set of user agents by which log data will be filtered.
Upload all log data regardless of user agent
Set it to a blank value.
From the Filter by Client IP option, perform one of the following steps:
Filter log data by one or more IP addresses:
Upload all log data regardless of IP address:
Verify that an IP address has not been defined within this section.
From the Filter By Action Type option, perform one of the following steps:
Filter log data by one or more enforcement action(s):
Select or type the name for one or more enforcement action(s).
Upload all log data regardless of enforcement action:
Verify that an enforcement action has not been defined within this section.
From the Filter By Request Method option, perform one of the following steps:
Filter log data by one or more request method(s):
Upload all log data regardless of request method:
Verify that a request method has not been defined within this section.
From the Filter By Scope Name option, perform one of the following steps:
Filter log data by one or more security application manager(s):
Select or type the name for one or more security application manager(s).
Upload all log data regardless of security application manager:
Verify that a security application manager(s) has not been defined within this section.
From the Filter By Action Limit ID option, perform one of the following steps:
Filter log data by one or more rate rule(s):
Type the name for one or more rate rule(s).
Upload all log data regardless of rate rule:
Verify that a rate rule has not been defined within this section.
From the Filter By URL Regex option, perform one of the following steps:
Filter log data by URL
Type a RE2-compatible regular expressionThis type of value is interpreted as a regular expression that defines a pattern of characters. pattern that identifies the set of URLs by which log data will be filtered.
Upload all log data regardless of URL
Set it to a blank value.
From the Log file contains the following fields section, perform the following steps:
From the Filter by Edge CNAME section, perform one of the following steps:
Filter log data by one or more edge CNAME(s)
Select one or more edge CNAMEs from the option directly to the right of the above option.
Filter the list by typing the entire or partial hostname. For example, typing co will filter the list to include all hostnames that contain co (e.g., cdn.example.com and corp.example.org).
Upload all log data regardless of edge CNAME
Verify that an edge CNAME has not been defined within this section.
From the Filter by Country section, perform one of the following steps:
Filter log data by one or more countries:
Select one or more countries from the option directly to the right of the above option.
Filter the list by typing the entire or partial country name. For example, typing un will filter the list to include all countries that contain un (e.g., United States and United Kingdom).
Upload all log data regardless of country of origin:
Verify that a country has not been defined within this section.
From the Filter by User Agent option, perform one of the following steps:
Filter log data by user agent
Type a RE2-compatible regular expressionThis type of value is interpreted as a regular expression that defines a pattern of characters. pattern that identifies the set of user agents by which log data will be filtered.
Upload all log data regardless of user agent
Set it to a blank value.
From the Filter By Security Application Manager option, perform one of the following steps:
Filter log data by one or more security application manager(s):
Select or type the name for one or more security application manager(s).
Upload all log data regardless of security application manager:
Verify that a security application manager(s) has not been defined within this section.
From the Filter By Access Rule option, perform one of the following steps:
Filter log data by one or more access rule(s):
Select or type the name for one or more access rule(s).
Upload all log data regardless of access rule:
Verify that an access rule has not been defined within this section.
From the Filter By Custom Rule option, perform one of the following steps:
Filter log data by one or more custom rule(s):
Select or type the name for one or more custom rule(s).
Upload all log data regardless of custom rule:
Verify that a custom rule has not been defined within this section.
From the Filter By Managed Rule option, perform one of the following steps:
Filter log data by one or more managed rule(s):
Select or type the name for one or more managed rule(s).
Upload all log data regardless of managed rule:
Verify that a managed rule has not been defined within this section.
From the Log file contains the following fields section, perform the following steps:
Set the Log Delivery Enabled option to the "on" position.
RTLD may deliver log data to one or more of the following destinations:
Log fields vary by RTLD module.
Learn more: RTLD CDN | RTLD Rate Limiting
Edgecast CDN