Download All Logs
get
/essbase/rest/v1/applications/{applicationName}/logs/all
Returns or download zip file which contains all log files for the specific application
Request
Path Parameters
-
applicationName: string
Application name.
Response
Supported Media Types
- application/zip
- application/octet-stream
- application/json
- application/xml
200 Response
OK
Logs returned successfully.
400 Response
Bad Request
Failed to return logs.
500 Response
Internal Server Error.
Examples
The following example shows how to download all the logs for an application, as a zip file.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
cURL Command
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample_Dynamic/logs/all" -H Accept:application/zip -o applogs.zip -u %User%:%Password%
Response
applogs.zip
is downloaded to the directory from which the cURL command was issued, because the command option -o
is used.