Retrieve Monitoring Log Files

get

/icsapis/v2/monitoring/logs

Retrieves a list of monitoring log files.

Request

There are no request parameters for this operation.

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : logfiles
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : logfile
Type: object
Show Source

500 Response

Server error

Examples

The following example shows how to retrieve details about lookups by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

curl -X GET -u jstein:welcome1 -H "Accept:application/json" \
https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "items": [
        {
            "description": "ICS Flow log file",
            "id": "icsflowlog",
            "links": [
                {
                    "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/icsflowlog",
                    "rel": "self"
                },
                {
                    "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/icsflowlog",
                    "rel": "canonical"
                }
            ],
            "name": "ics-log.zip"
        },
        {
            "description": "ICS Diagnostic log files",
            "id": "icsdiagnosticlog",
            "links": [
                {
                    "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/icsdiagnosticlog",
                    "rel": "self"
                },
                {
                    "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/icsdiagnosticlog",
                    "rel": "canonical"
                }
            ],
            "name": "Diagnostic-log.zip"
        }
    ],
    "links": [
        {
            "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/",
            "rel": "self"
        },
        {
            "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/logs/",
            "rel": "canonical"
        }
    ]
}