Skip to content

Access Log

Request to GET access logs that matches the criteria in request for a given namespace. Typically, virtual host is specified as match condition in the request to GET all access logs for a virtual host. By default, the access logs in the response are sorted in the reverse chronological order.

ToolDescription
f5xc-api-observability-access-log-createAccess Log Query V2.
ParameterDescriptionExample
namespaceNamespace-

Ask Claude to help you work with Access Log resources:

“Create a access-log named ‘example’ in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/access_logs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/access_logs/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/access_logs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @access_log.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/access_logs/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"