Viewing Detailed Service Logs

The Developer Logs page displays service-related logs in list format. This list displays the first-level information. In the list, if you click a specific record, you will access broad-level information about the service log. This broad-level information includes the following:

  • Trace ID
  • End-point URL
  • User ID
  • Request and Response Payload
  • Overhead (Request’s header data), and others

To view the broad-level developer logs:

  1. On the Developer Logs page, under the Name column, find the service’s name to view its data logs.

Note:- If the Developer Logs page displays two or more records of a single service, see a specific date and time under the Request Time column to view data logs of a specific record. This is the time at which the source component requested or executed a service.

  1. After you find the service’s name (for example, GET_SERVICE_LIST), click it or click its record, and a <<Service Name>> page open.
  2. On the <<Service Name>> page, the left-middle panel displays the following data:
Data Description
Trace IDThis alphanumeric value is a unique trace ID that the Vahana platform generates when an API request is processed. This trace ID is used to track the route of the API and helps debug the API request if it fails to perform the function.
End PointThis value specifies the URL location. The source application or medium posts the API request to this URL, or an API is invoked from this URL.
UserThis dash-separated alphanumeric value specifies the user ID of the user who initiated the application request.
Execution TimeThis value specifies the total time that the API takes to perform its job.
Request TimeThis time stamp value specifies the date and time at which the user invoked the API.
StatusThis field contains the status of an processed API as follows:
a. Success
b. Failure
  1. On the <<Service Name>> page, the middle panel displays the following data:
DataDescription
TabBody
Client Request DataThis box displays the API’s request payload, or API’s request body, which contains the actual data. On the basis of the request’s body, the API returns the response to the end-user.
Client Response DataThis box displays the API’s response payload. It contains the response that the API returns to the end-user.
TabHeader
Client HeaderThis section contains the header data. The API request’s header is used for request authentication. It contains the data related to the API’s source and destination.
TabOther
Other DataThe Other Data box displays the additional data, such as URI parameters, path parameters, etc.
  1. On the <<Service Name>> page, the top panel displays the following utilities:
Utility/LinkDescription
DataClick this link to download the API request and response in a (.txt) file.
Trace LogsWhen you click this link, the Trace Logs Chart section comes into view. The Trace Logs Chart section displays a bar chart.

When you put the mouse-pointer on the bar, it shows two values, which are described as below:
a. TAT (Turn Around Time):- This value specifies the total time that the Vahana platform takes to process the request. The processing includes the time from receiving the request to returning the response.

b. Actual Time Taken:- This value specifies the total time that a microservice takes to process the request.
RefreshClick Refresh to refresh the <<Service Name>> page.
  1. On the <<Service Name>> page, the bottom panel displays the following utilities:
UtilityDescription
Previous LogYou can find this utility in the bottom panel of the page. When you click Previous Log, the <<Service Name>> page displays detailed logs of the previous record in the list on the Developer Logs page.
Next LogYou can also find this utility in the bottom panel of the page. When you click Next Log, the <<Service Name>> page displays detailed logs of the next record in the list on the Developer Logs page.
Was this article helpful?
YesNo