Get Virtual Service Http Log Summaries

Get Virtual Service Http Log Summaries

Retrieves HTTP log summaries for a Virtual Service.

Log filters are encapsulated in a fiql filter query parameter. Sample filter: filter=(duration==900;endTime=2020-07-24T00:00:00) Supported filters are:

  • duration. Duration of the series. This is optional. If start time is not specified (or set to zero), this field determines the duration from end for which logs are returned. Default value is zero (no limit).
  • startTime. Start time of the logs. This is optional. Must be in ISO 8601 format (i.e. 2020-07-24T00:00:00). Defaults to zero.
  • endTime. End time of the logs. This is optional. Must be in ISO 8601 format (i.e. 2020-07-24T00:00:00). Defaults to the current time.
  • type. Type of logs to display in a comma-separated list. Can be CRITICAL or NON_CRITICAL. This is optional. Default value is CRITICAL.
  • clientIpAddress. IP address of the client. This is optional. Must be in IPv4 format. This field is responsible for filtering logs based on the specified client IP.
  • ipV6ClientIpAddress. IPv6 address of the client. This is optional. Must be in IPv6 format. This field is responsible for filtering logs based on the specified client IP.
  • method. HTTP request method. This is optional. This field is responsible for filtering logs based on the specified request method.
  • responseCode. The HTTP response status code. This is optional. Must be a valid response code in range 100-599. This field is responsible for filtering logs based on the specified response code.
  • uriPath. The URI path of the request from the client. This is optional. This field is responsible for filtering logs based on the specified URI path.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices/{virtualServiceId}/httpLogs
COPY
Path Parameters
string
virtualServiceId
Required

virtualServiceId

string
virtualServiceId
Required

virtualServiceId

Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

integer
page
Required

Page to fetch, zero offset.

integer
pageSize
Required

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200
Returns EdgeVirtualServiceHttpLogSummaries of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineEdgeVirtualServiceHttpLogSummaries1
{
    "resultTotal": 0,
    "pageCount": 0,
    "page": 0,
    "pageSize": 0,
    "associations": [
        {
            "entityId": "string",
            "associationId": "string"
        }
    ],
    "values": [
        {
            "timestamp": "2020-07-24T00:00:00.000+0000",
            "type": "string",
            "clientIpAddress": "string",
            "ipV6ClientIpAddress": "string",
            "uriPath": "/, /index.html, /path/to/resource",
            "method": "GET, POST, PATCH, PUT",
            "responseCode": 0,
            "responseLength": 0,
            "requestLength": 0,
            "requestId": "string",
            "totalTime": 0,
            "wafStatus": "string"
        }
    ]
}