API Proxy Traffic
On the API Proxy Traffic screen, all requests and responses to API Proxies in the project are listed with their details. In particular, it makes it easy to investigate a problem in the message.
The picture below shows the API Proxy Traffic Records:
Since an API Proxy can be installed in more than one environment, it is necessary to evaluate the metrics according to the environment in which it is installed. For this reason, metrics are filtered by selecting media information in all analytics screens.
The picture below shows the Basic Search tab:
2 types of queries are used in the filtering fields where Basic Search is made;
Logs that exactly match the searched keyword and logged data are returned. The fields applied to this query are;
HTTP Status Code
It is a query to search all text. The searched value is analyzed before the search is performed. In Match queries, it is done through the analysis type 'Standard Analyzer'.
While analysing, the text is first divided into parts based on grammatical rules (numbers, punctuation marks, etc.). These parts are then converted to lowercase letters by going through the 'Lower Case Token Filter' stage.
For example, when the text 'The 2 QUICK Brown-Foxes jumped over the lazy dog's bone.' is analyzed, '[ the, 2, quick, brown, foxes, jumped, over, the, lazy, dog's, bone ]' is converted to this form. Not all analyzed parts of the value are expected to match within the text.
It can be thought of as the OR operator between the parts. The score value is obtained based on criteria such as how many of these pieces are in the field in the log document and how often they are used. As a result of this value, related documents are returned.
- Method/Endpoint Name
- Request Address
- Response Address
- From Client Body
- To Client Body
Returns documents that contain terms matching a wildcard pattern. A wildcard operator is a placeholder that matches one or more characters. Add * character to prefix or suffix to extend your search results. The fields applied to this query are;
- Request Address
- Routing Address
A panel opens that allows nested queries to be made according to the created criteria.
The picture below shows the Advanced Search tab:
The advanced search tab is an incoming feature if the required license is available.
When the Detailed View button on the right side of the log record is pressed, the log information of the message is grouped according to the sections on the request and response line.
The picture below shows the Detailed View of one API Proxy Traffic Record:
When the JSON View button on the right side of the record is pressed, the JSON version of the log record is displayed.
The picture below shows the JSON View of API Proxy Traffic Record:
If the data size of the log record is larger than 500Kb, the View Detailed and View in JSON Format options will be turned off. In this case, it should be downloaded to examine the log record.
When the Download button on the right side of the record is pressed, the JSON version of the record is downloaded in .zip format.
When the Quick Test button on the right side of the recording is pressed, the Test Console screen opens with the original message content placed on the Test Console, this makes it easy for the relevant record to be tested again.