“Billable Requests” application helps with billing inquiries, where it is possible to view monthly or yearly page requests for each hosted site on Core dna within a single view.
To open it, go to System › Sites › Billable Requests in the admin menu.
Billable Requests
A request is defined as when a browser (or any other client) asks a server for a resource (i.e. some data). This could include a web page, assets (such as CSS, JS, fonts, etc) or API call. The Platform defines “Billable Requests” as a request which is processed through our servers. Again this could include:
A webpage from the site or the admin
An error page
Submitting a form, comments, etc
Call our API
Static assets like CSS, Javascript, Images
Most static resources (site web pages, assets) will most likely not be considered billable since our CDN (Content Delivery Network) would process these requests instead of our servers.
Billable Requests application only shows requests that are billable. Other non billable requests are not included in the reports. Only requests made to one of the site's own hostnames are counted and exported. Requests data is presented in two main graphs:
Billable Requests for a specific month
Monthly Billable Requests for the past 12 months
Additionally to the graph view, data can also be read from the tables. Tables include a breakdown of all requests on day to day basis.
Select a Billing Month
Year/Month Date Picker
To view billing information for a specific month use the date picker setting at the top of the admin page. It is only possible to select a whole billing month, not a date range.
To select a year simply click on the year number at the top of the calendar. To select a month use the arrows positioned on the left and right side of the calendar.
Once the month has been selected the graph and table information will be automatically updated to reflect the billable requests for the selected month.
Client
Core dna platforms support multisite setups, where each “client” can have multiple websites under their plan. In multisite scenarios, “Client” setting can be used to filter data for a specific client or parent website.
Sites
Core dna platforms support multisite setups, where each “client” can have multiple websites under their plan. In multisite scenarios “Sites” setting can be used to filter data and show data for a specific site managed by a specific client.
Apply
Click the “Apply” button to filter the data based on the selected “Year/Month”, “Client” and “Site” information.
Refresh counts
The Refresh counts button at the top of the page collects the request counts of the selected month from the request log again, and replaces the stored counts with them. The button is available for the current month and the five months before it.
Before the refresh starts, a confirmation with the title Refresh request counts asks you to confirm: “The stored request counts for [month] will be replaced with the counts Graylog holds now.”
The stored counts are kept in these cases:
The request log no longer holds the whole month. The page shows: “Graylog no longer holds all of [month], so its stored counts have been kept.”
The request log cannot return the counts of some environments. The other environments are refreshed, and the page shows: “The request counts for [month] have been refreshed, except for [environments]. Graylog could not return their counts, so their stored counts have been kept.”
When the page shows a month and the request log cannot return the counts of some environments, it shows their stored counts with this warning: “Graylog could not return the request counts for [environments]. Their stored counts are shown instead.”
Graph View
Graph view is showing billable requests in a visual format. The vertical bar shows the number of requests, while the horizontal bar represents a day in the month.
It is possible to have multiple environments on Core dna, each request bar data (blue) will therefore show billable requests for each environment. For example, a site can have a “main” and a “staging” environment, and it can have more, depending on its setup.
In Graph Options, select Sort by Total to order the days of the month by their total billable requests, highest first. Clear it to show the days in date order again.
Use Select Site in Graph Options to show the billable requests of one site in the graph.
The Past 12 Month Requests graph shows the billable requests of each of the last 12 months.
Table View
Table view is showing billable requests in a traditional table format. The table is broken up into four main columns:
Date - date of the requests
Primary Environment - total number of billable requests for the “main” environment
Other Environments - total number of billable requests for “stage” and other environments
Total - Sum of all billable requests across all environments
To export the requests of a day, click the download icon (Download requests as CSV file) next to the day's number in the Total column. The export runs in the background, and the page shows: “The export has been started successfully. A download link will be sent to your email address [email].”
When the export is ready, you receive an email with the subject “Core dna: Export Billable Requests on date [DD-MM-YYYY]”. It holds a link to a ZIP file that contains the CSV file. The link is valid for about 3 hours. Your admin notifications also show: “Billable Requests export for the date "[DD-MM-YYYY]" requested at [time] has been finished and was sent via email”.
Note: you can export the days of the current month and the previous month, up to today. You can view other months, but they show no download icon. If you request an export for another date, the page shows: “Request export is not available for this date”.
The export of a day that has ended must contain exactly as many requests as that day's count. If the numbers do not match, the export stops and a notification says it has not been finished.
The CSV file in the ZIP includes the following information:
Date and Time, Server IP, Website, Request Method, Request Status, Request Protocol (http or https), Request Content Size
Note: Core dna is General Data Protection Regulation (GDPR) compliant, therefore as part of the compliance requirements we are not able to provide Client IP addresses.
On the other side, there is another table that outlines all the billable page requests for the whole year, month by month basis. The table is broken down into two columns: Month & Requests. Note: requests for the whole year cannot be downloaded as a CSV file.