Download Application Logs

get

/essbase/rest/v1/applications/{applicationName}/logs

Returns links to download all log files as a zip file, and to download the latest log file.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

List of URI links returned successfully.

Body ()

400 Response

Bad Request

Failed to return downloadable log files.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to retrieve download links for Essbase application logs.

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.

Script with cURL Command

call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/logs -H "Accept:application/json" -u %User%:%Password%

Example of Response Body

[ {
  "rel" : "all",
  "href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/logs/all",
  "method" : "GET"
}, {
  "rel" : "latest",
  "href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/logs/latest",
  "method" : "GET"
} ]
Back to Top