Home / API Documentation / Operations center / Logging / Export log

*Export log

Requests

HTTP request

GET /v5/logs/export

Export the search result to file, cookie required

Query parameters

Name Type Required Description
start_time number Truetimestamp of start time range
end_time number Truetimestamp of end time range
size number Falsepage size
region_name string Truename of cluster
kubernetes_namespace string Falsecomma seperated names of k8s namespace
project_name string Falsecomma seperated names of projects
application_name string Falsecomma seperated names of application
node string Falsecomma seperated names of node
pod_name string Falsecomma seperated names of pod
container_id8 string Falsecomma seperated first 8 chars of docker container id
file_name string Falsecomma seperated names of path
component string Falsecomma seperated names of component
type string Falsetype of logs, choices: system, platform, kubernetes, workload, default to workload
workload string Falseworkload type and workload name pairs, such as: Deployment:lanaya,StatefulSet:apollo
query_string string Falsefull text search query
fileType string Falsetype of exported file, choices: txt, csv
fields string Falseexported field names seperated with comma

Responses

Content-Type application/octet-stream

Status code: 200

OK

Other status codes