Skip to content

Log

GET logs for given service from the specific node.

ToolDescription
f5xc-api-support-log-listLog
ParameterDescriptionExample
namespaceNamespace-
nodeNode Name-
serviceService Name-
siteSite Name-
ParameterDescriptionExample
last_linesNumber of last log lines.-

Ask Claude to help you work with Log resources:

“List all logs in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/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}/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}/logs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @log.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/logs/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"