The ability to view logs was added to the basic functionality of G-Core Labs CDN. The Log viewer allows you to obtain data about the system’s operation directly in the user interface or via API.
With the help of logs, you can get information about the operation of programs or user actions. This data is required to analyze system failures and track emergencies.
Previously, the clients of our CDN could receive logs only if they enabled a paid feature called Raw logs. Now, we’ve added a new functionality available for all plans. Compared to the extended paid one, it has a few limitations but provides a simple solution for most tasks.
The feature is available by default to all G-Core Labs CDN clients. You don’t need to connect anything additionally.
There are two ways to view logs.
Logs can be viewed and exported using the interface of our control panel. You can obtain data from the past 15 days.
You can view the list of logs and detailed information about each entry: client IP address, request time, HTTP method, response size, etc.
The data can be filtered by time (set for a particular time interval) and other parameters (e.g., by client IP address).
In addition, you can export the log file. You’ll receive data from a particular time interval, filtered according to the parameters you need.
Just like in the control panel, you can view logs from the past 15 days.
You can obtain the data at any time and save it if necessary. The maximum number of API requests is four per second.
The following fields are available in exported logs:
There are two ways to obtain logs via API.
1. Return logs with a request. You’ll get no more than 1,000 entries. The maximum interval for the data in a request is 6 hours. Hence, you can request data from any 6-hour (or shorter) interval from the past 15 days.
2. Download a file. The log file is exported. It can contain up to 10,000 entries. The maximum interval for the data is 24 hours.
The result will look approximately like this:
We are constantly expanding the CDN’s functionality to make it even more convenient for our clients. To learn more about all available features, go to the product’s website.