Enhanced Usage Reports
I’m very pleased to announce the release of enhanced usage reporting for Data8’s suite of data validation web services.
From today, you will be able to retrieve more customised, detailed breakdowns of your usage to help identify systems that are either not making full usage of our services, or are generating unexpectedly high request volumes.
On top of the previous daily usage totals you will now be able to separate out usage by:
- End-user client name (for our reseller partners)
- Authentication Type
- Protocol Type
- Referer Domain
- API Key
- IP Address
- Application Name
We support a variety of methods to integrate with our services, and the authentication type and protocol type details will help you to identify areas where you may be using older technology and where an upgrade may offer you a range of new options.
To access the new usage reports, log into your Data8 Dashboard and select the service you want to get the usage report for. You will then see the following options immediately below the usage chart:
Select the time period you want to get the report for, tick the boxes you want to break down your usage by, and click Download.
These additional data fields are only available from 14th May 2019, any earlier days will only have a single entry with all these fields being blank.
The available authentication types are currently:
- UserPass – using your Data8 username and password to authenticate your requests is the simplest method, but also the least flexible
- ApiKey – a flexible method of authenticating client- or server-side requests, with options for restricting access by domain name, IP address, service and rate limiting
- JWT – the most flexible method of giving your application users time-limited “slices” of your available credits
Anyone seeing the ApiKeyOld authentication type should migrate to the ApiKey option simply by generating a new API Key and updating their integration configuration with their new key.
If you see the UserPass authentication type, you can also switch to the ApiKey method simply by generating a server-side key, then change your integration configuration to use the username “apikey-xxxx-xxxx-xxxx-xxxx” (replacing xxxx-xxxx-xxxx-xxxx with your new API Key) and a blank password.
The protocol types you can see are:
- SOAP11 – SOAP 1.1 requests made to the *.asmx endpoints, commonly from .NET, Java or PHP code
- SOAP12 – SOAP 1.2 requests made to the *.asmx endpoints, commonly from .NET, Java or PHP code
- ADO – Requests made to the recordset.ashx endpoint to load data into an ADO Recordset object, commonly from VB6 or VBScript code
- HTTPPOST – REST requests made using HTTP POST requests to the *.asmx endpoints
- HTTPGET – REST requests made using HTTP GET requests to the *.asmx endpoints
- JSON – REST requests made using HTTP POST request to the *.json endpoints
We would recommend clients migrating to the JSON endpoint in most cases, as it provides the greatest flexibility for both client- and server-side integrations, supports all the different authentication types and has good support in all major development frameworks.
You can generate as many API Keys as you like, and use different keys to allow you to measure usage by different sites, applications, users or any other metric that makes sense to you. Only new style API keys in the format xxxx-xxxx-xxxx-xxxx will be listed here. If you are using an older style API key, please generate a new one and update your integration configuration to start taking advantage of all the improvements offered by the new version.
This is a new flexible method of differentiating usage by different applications under the same account. To start making use of this, simply include an “ApplicationName” option in your requests. It is up to you how you make use of this – it could be the name of the application that the service is integrated with, or the name of the website, or a particular functional area, or however you need to be able to measure your usage.