This section describes how to view detailed records of HTTP requests within the cluster.

Prerequisites

  • You need to have the platform-admin role on the KubeSphere platform. For more information, refer to Users and Platform Roles.

  • The WizTelemetry Network Observability extension needs to be installed and enabled on the KubeSphere platform.

Steps

  1. Log in to the KubeSphere web console with a user who has the platform-admin role.

  2. In the upper right corner of the page, click the grid icon and select WizTelemetry Observability Platform.

  3. Click Network > HTTP Traffic in the left navigation pane.

  4. On the page, use the dropdown menus at the top to select the cluster and project (the project where the traffic flows into) to view the HTTP traffic logs for the selected project within the specified time range.

    • Click clock-2 in the upper right corner to set the time range for the data. The default is Last 30 minutes.

    • Click the search box above the list and set search criteria to quickly search for HTTP traffic logs.

    • Click refresh in the upper right corner of the list to refresh the list information.

    • Click cogwheel in the upper right corner of the list to customize the information displayed in the list.

    • Click caret-down on the right side of the table header to sort the list in ascending/descending order.

    Parameter Description ​

    ​Time​​

    The time when the request was initiated. ​

    ​Client​​

    The source endpoint that initiated the HTTP request, showing its resource type and resource name. ​

    ​Request Method​​

    The HTTP method (e.g., GET, POST).

    Request Path

    The API path of the HTTP request (e.g., /health). ​

    ​Status Code​

    The HTTP status code (200 indicates success). ​

    ​Latency​​

    The time elapsed from when the client initiated the HTTP request to when the server’s response was fully received, i.e., the total request duration.

    Server

    The target endpoint that received the HTTP request, showing its resource type and resource name.

    • Click a log entry to open the right panel and view the log details. Click code to view the log information in JSON format, which can be copied with one click.