Logging

How to retrieve and delete the logs for your Orka environment. Administrators-only. API-only.

🚧

Quick navigation

On this page, jump to: Retrieving the logs | Deleting the logs | Caveats | Log example

Orka collects logs for all CLI and API operations. Administrators can view and delete the logs. All logs are returned in JSON format.

Retrieving and deleting the logs is currently available only via the Orka API.

📘

Quick API summary

curl POST /logs/query
curl DELETE /logs

Retrieving the logs

Send a POST request to the http://<Orka-API-URL>/logs/query endpoint.

For example:

curl --location --request POST 'http://<orka-api-url>/logs/query' \
--header 'Content-Type: application/json' \
--header 'orka-licensekey: <license-key>'

Replace <license-key> with your actual Orka license key.
Replace <orka-api-url> with 10.10.10.100, 10.221.188.100, or your custom domain. Note that for custom domains you need to switch to https.

Deleting the logs

❗️

CAUTION

This operation removes all logs for your Orka environment. Deleted logs cannot be restored.

Send a DELETE request to the http://<Orka-API-URL>/logs endpoint.

For example:

curl --location --request DELETE 'http://<orka-api-url>/logs' \
--header 'orka-licensekey: <license-key>' \
--header 'Authorization: Bearer <token>'

Replace <license-key> with your actual Orka license key.
Replace <orka-api-url> with 10.10.10.100, 10.221.188.100, or your custom domain. Note that for custom domains you need to switch to https.
Replace <token> with the token for your Orka user.

Caveats

  • Log retrieval and management is available only to administrators and requires the passing of the orka-licensekey: <licensekey> header.
  • Log retrieval and management is available only from the Orka API.
  • You cannot filter the logs. You can view only the full logs since the last deletion.
  • You cannot delete parts of the logs. You can delete only the full logs since the last deletion.
  • (Orka 1.2.0 and later) The logs capture internal API calls from the Orka CLI, executed as part of running the specified user command. For example, the logs capture internal token checks and API version checks executed as part of VM-related operations.

Log example

{
    "message": "",
    "help": {},
    "errors": [],
    "logs": [
        {
            "createdAt": "2020-05-07T13:17:52.899Z",
            "id": "f3e8d526-9285-4682-b02f-5c72add8b460",
            "logVersion": "1.0",
            "request": {
                "body": {
                    "orka_vm_name": "myorkavm"
                },
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate, br",
                    "cache-control": "no-cache",
                    "connection": "keep-alive",
                    "content-length": "31",
                    "content-type": "application/json",
                    "host": "10.10.10.100",
                    "postman-token": "56f32c79-d7c7-44fd-b1f5-52faf5130f3b",
                    "user-agent": "PostmanRuntime/7.24.1"
                },
                "method": "DELETE",
                "url": "/resources/vm/delete"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "deploy_virtual_machine": "To deploy a VM, make sure you have a configuration created and use the endpoint http://10.10.10.100/resources/vm/deploy",
                        "list_orka_nodes": "To list orka nodes send a rest a request to http://10.10.10.100/resources/node/list",
                        "required_request_data_for_deploy": {
                            "orka_vm_name": "myorkavm"
                        }
                    },
                    "message": "Successfully deleted VM"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "372",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"174-aYFIE14PAFIci4OLLNE8hJpKpEc\""
                },
                "statusCode": 200
            },
            "user": {
                "email": "[email protected]",
                "id": "73b3dcf3-987a-4c67-a725-27dc8ed21ba1"
            }
        },
        {
            "createdAt": "2020-05-07T13:17:22.437Z",
            "id": "f3b17444-88b4-43fa-bf2a-a457552038f8",
            "logVersion": "1.0",
            "request": {
                "body": {
                    "orka_vm_name": "myorkavm"
                },
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate, br",
                    "cache-control": "no-cache",
                    "connection": "keep-alive",
                    "content-length": "31",
                    "content-type": "application/json",
                    "host": "10.10.10.100",
                    "postman-token": "3bb357e7-966b-4a5e-a2b8-c1702bd0abe2",
                    "user-agent": "PostmanRuntime/7.24.1"
                },
                "method": "DELETE",
                "url": "/resources/vm/delete"
            },
            "response": {
                "body": {
                    "errors": [
                        {
                            "message": "No authorization token was found"
                        }
                    ],
                    "help": {},
                    "message": ""
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "82",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"52-o9IVOX3UbIP0Us4MZyiRKcPbhek\""
                },
                "statusCode": 401
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:16:06.127Z",
            "id": "8e3148ec-8367-44a5-b8f0-2809779a2313",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-GB,en-US;q=0.9,en;q=0.8",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "referer": "http://10.10.10.100/view/vms",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
                },
                "method": "GET",
                "url": "/resources/vm/list"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {},
                    "message": "",
                    "virtual_machine_resources": [
                        {
                            "status": [
                                {
                                    "RAM": "7.5G",
                                    "base_image": "Mojave.img",
                                    "configuration_template": "default",
                                    "cpu": 3,
                                    "image": "myorkavm",
                                    "node_location": "macpro-6",
                                    "node_status": "UP",
                                    "owner": "[email protected]",
                                    "reserved_ports": [
                                        {
                                            "guest_port": 5999,
                                            "host_port": 5999,
                                            "protocol": "TCP"
                                        },
                                        {
                                            "guest_port": 5900,
                                            "host_port": 5900,
                                            "protocol": "TCP"
                                        },
                                        {
                                            "guest_port": 8821,
                                            "host_port": 8822,
                                            "protocol": "TCP"
                                        }
                                    ],
                                    "screen_sharing_port": "5900",
                                    "ssh_port": "8822",
                                    "vcpu": 3,
                                    "virtual_machine_id": "0cd6c5e557a70",
                                    "virtual_machine_ip": "10.10.10.16",
                                    "virtual_machine_name": "myorkavm",
                                    "vm_status": "running",
                                    "vnc_port": "5999"
                                }
                            ],
                            "virtual_machine_name": "myorkavm",
                            "vm_deployment_status": "Deployed"
                        }
                    ]
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "700",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"2bc-0ICLzct6dCt/3FLXvnfOmHMm11A\""
                },
                "statusCode": 200
            },
            "user": {
                "email": "[email protected]",
                "id": "73b3dcf3-987a-4c67-a725-27dc8ed21ba1"
            }
        },
        {
            "createdAt": "2020-05-07T13:15:59.078Z",
            "id": "cffcd427-f87b-4222-9556-6424d874d71d",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-US,en;q=0.5",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "referer": "http://10.10.10.100/",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0"
                },
                "method": "GET",
                "url": "/static/js/2.79c7f8e2.chunk.js"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "accept-ranges": "bytes",
                    "cache-control": "public, max-age=0",
                    "content-length": 601821,
                    "content-type": "application/javascript; charset=UTF-8",
                    "etag": "W/\"92edd-171e56644e8\"",
                    "last-modified": "Tue, 05 May 2020 15:13:37 GMT"
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:56.282Z",
            "id": "2a6d0933-b627-4f50-bd7d-9a7f023ee181",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "image/webp,*/*",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-US,en;q=0.5",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0"
                },
                "method": "GET",
                "url": "/favicon-32x32.png"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "accept-ranges": "bytes",
                    "cache-control": "public, max-age=0",
                    "content-length": 1252,
                    "content-type": "image/png",
                    "etag": "W/\"4e4-171e564d5b8\"",
                    "last-modified": "Tue, 05 May 2020 15:12:03 GMT"
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:56.145Z",
            "id": "bcd25b98-fe76-4763-8ac3-daa2aeb490e1",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "image/webp,*/*",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-US,en;q=0.5",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0"
                },
                "method": "GET",
                "url": "/apple-touch-icon.png"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "accept-ranges": "bytes",
                    "cache-control": "public, max-age=0",
                    "content-length": 3628,
                    "content-type": "image/png",
                    "etag": "W/\"e2c-171e564d5b8\"",
                    "last-modified": "Tue, 05 May 2020 15:12:03 GMT"
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:54.271Z",
            "id": "47aa6c4a-6b70-45a3-8c9a-4c7f4d448796",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-US,en;q=0.5",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "referer": "http://10.10.10.100/",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0"
                },
                "method": "GET",
                "url": "/static/js/main.1f206282.chunk.js"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "accept-ranges": "bytes",
                    "cache-control": "public, max-age=0",
                    "content-length": 56396,
                    "content-type": "application/javascript; charset=UTF-8",
                    "etag": "W/\"dc4c-171e56644e8\"",
                    "last-modified": "Tue, 05 May 2020 15:13:37 GMT"
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:53.879Z",
            "id": "c72cd0d2-d2ec-49a1-bc92-c82319a3c7d2",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                    "accept-encoding": "gzip, deflate",
                    "accept-language": "en-US,en;q=0.5",
                    "connection": "keep-alive",
                    "host": "10.10.10.100",
                    "upgrade-insecure-requests": "1",
                    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0"
                },
                "method": "GET",
                "url": "/"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "accept-ranges": "bytes",
                    "cache-control": "public, max-age=0",
                    "content-length": 2961,
                    "content-type": "text/html; charset=UTF-8",
                    "etag": "W/\"b91-171e56644e8\"",
                    "last-modified": "Tue, 05 May 2020 15:13:37 GMT"
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:41.848Z",
            "id": "422a06a1-76fd-44cb-a2e7-0047b765afb3",
            "logVersion": "1.0",
            "request": {
                "body": {
                    "iso_install": false,
                    "orka_vm_name": "myorkavm",
                    "replicas": 1,
                    "reserved_ports": [],
                    "vnc_console": true
                },
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "content-length": "47",
                    "content-type": "application/json;charset=utf-8",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "POST",
                "url": "/resources/vm/deploy"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "data_for_virtual_machine_exec_tasks": {
                            "orka_vm_name": "myorkavm"
                        },
                        "resume_virtual_machine": "To resume a VM send rest request to http://10.10.10.100/resources/vm/exec/resume",
                        "start_virtual_machine": "To start a VM send rest request to http://10.10.10.100/resources/vm/exec/start",
                        "stop_virtual_machine": "To stop a VM send rest request to http://10.10.10.100/resources/vm/exec/stop",
                        "suspend_virtual_machine": "To suspend a VM send rest request to http://10.10.10.100/resources/vm/exec/suspend",
                        "virtual_machine_vnc": "Once started and deployed, you can use VNC to access it via 10.10.10.16:5999"
                    },
                    "host_cpu": "3",
                    "ip": "10.10.10.16",
                    "message": "Successfully deployed VM",
                    "port_warnings": [],
                    "ram": "7.5G",
                    "screen_share_port": "5900",
                    "ssh_port": "8822",
                    "vcpu": "3",
                    "vm_id": "0cd6c5e557a70",
                    "vnc_port": "5999"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "816",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"330-9XjBVaxXdNJoQES1XBazxM2HFdo\""
                },
                "statusCode": 200
            },
            "user": {
                "email": "[email protected]",
                "id": "73b3dcf3-987a-4c67-a725-27dc8ed21ba1"
            }
        },
        {
            "createdAt": "2020-05-07T13:15:36.617Z",
            "id": "d3ee0c14-f3b9-4f97-bfb3-b2f6e433dfc6",
            "logVersion": "1.0",
            "request": {
                "body": {
                    "orka_base_image": "Mojave.img",
                    "orka_cpu_core": 3,
                    "orka_image": "myorkavm",
                    "orka_vm_config_template_name": "default",
                    "orka_vm_name": "myorkavm",
                    "type": "user_vm_config",
                    "vcpu_count": 3,
                    "vnc_console": true
                },
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "content-length": "168",
                    "content-type": "application/json;charset=utf-8",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "POST",
                "url": "/resources/vm/create"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {
                        "deploy_virtual_machine": "To deploy a VM, make sure you have a configuration created and use the endpoint http://10.10.10.100/resources/vm/deploy",
                        "required_request_data_for_deploy": {
                            "orka_node_name": "<ORKA_NODE_NAME>",
                            "orka_vm_name": "myorkavm"
                        }
                    },
                    "message": "Successfully Created"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "301",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"12d-1yhfBamTtAiNN1eeQyw6TuLLy4Y\""
                },
                "statusCode": 201
            },
            "user": {
                "email": "[email protected]",
                "id": "73b3dcf3-987a-4c67-a725-27dc8ed21ba1"
            }
        },
        {
            "createdAt": "2020-05-07T13:15:36.041Z",
            "id": "7441e4fb-e4cf-4aec-815c-62d675798a6c",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "GET",
                "url": "/token"
            },
            "response": {
                "body": {
                    "authenticated": true,
                    "email": "[email protected]",
                    "errors": [],
                    "help": {},
                    "is_token_revoked": false,
                    "message": ""
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "103",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"67-R+h0Ln0XrDGfZhMhdkGvrSXv/+g\""
                },
                "statusCode": 200
            },
            "user": {
                "email": "[email protected]",
                "id": "73b3dcf3-987a-4c67-a725-27dc8ed21ba1"
            }
        },
        {
            "createdAt": "2020-05-07T13:15:35.735Z",
            "id": "23038f4a-d7a7-464d-964e-f1f0ff415ee0",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "GET",
                "url": "/default-base-image"
            },
            "response": {
                "body": {
                    "default_base_image": "Mojave.img"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "35",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"23-JuOAG0ekVpRWDz4M/Y/7hepUUkI\""
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:35.451Z",
            "id": "0f05d816-6252-4040-a3c9-b96dbd4dc70c",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "GET",
                "url": "/validation-requirements"
            },
            "response": {
                "body": {
                    "password_length": 6
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "21",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"15-Z9/A1tuz71Q8gubBhDU7WS2L6zg\""
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:35.126Z",
            "id": "10880c4f-a443-4fcb-bc93-1887564de019",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "application/json, text/plain, */*",
                    "connection": "close",
                    "host": "10.10.10.100",
                    "platform": "darwin",
                    "release": "19.4.0",
                    "user-agent": "orka-cli",
                    "x-cli-version": "1.2.0"
                },
                "method": "GET",
                "url": "/health-check"
            },
            "response": {
                "body": {
                    "api_version": "1.2.0"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "23",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"17-nxMLVwlUdhennRo9miWK2OdztDY\""
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:15.980Z",
            "id": "da5982ca-e8b8-4489-aaae-b8fba8a6900a",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate, br",
                    "cache-control": "no-cache",
                    "connection": "keep-alive",
                    "content-length": "0",
                    "content-type": "application/json",
                    "host": "10.10.10.100",
                    "postman-token": "e8d69268-4721-4433-a1ab-c36d0eea6ae0",
                    "user-agent": "PostmanRuntime/7.24.1"
                },
                "method": "POST",
                "url": "/logs/query"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {},
                    "logs": [
                        {
                            "createdAt": "2020-05-07T13:15:01.764Z",
                            "id": "9e9ddaf8-046d-4494-b5e8-bfc655dff883",
                            "logVersion": "1.0",
                            "request": {
                                "body": {},
                                "headers": {
                                    "accept": "*/*",
                                    "accept-encoding": "gzip, deflate, br",
                                    "cache-control": "no-cache",
                                    "connection": "keep-alive",
                                    "content-type": "application/json",
                                    "host": "10.10.10.100",
                                    "postman-token": "4703ffe2-a3c4-4810-aba5-1cab3b8519bf",
                                    "user-agent": "PostmanRuntime/7.24.1"
                                },
                                "method": "DELETE",
                                "url": "/logs"
                            },
                            "response": {
                                "body": {
                                    "errors": [],
                                    "help": {},
                                    "message": "Deleted User Logs"
                                },
                                "headers": {
                                    "access-control-allow-origin": "*",
                                    "content-length": "53",
                                    "content-type": "application/json; charset=utf-8",
                                    "etag": "W/\"35-4Z9JtbPU9++m2altd9yNyaWiE/E\""
                                },
                                "statusCode": 200
                            },
                            "user": {}
                        }
                    ],
                    "message": ""
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "733",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"2dd-zih8LoDkj5Vbc1Z2x11o13yc6Bs\""
                },
                "statusCode": 200
            },
            "user": {}
        },
        {
            "createdAt": "2020-05-07T13:15:01.764Z",
            "id": "9e9ddaf8-046d-4494-b5e8-bfc655dff883",
            "logVersion": "1.0",
            "request": {
                "body": {},
                "headers": {
                    "accept": "*/*",
                    "accept-encoding": "gzip, deflate, br",
                    "cache-control": "no-cache",
                    "connection": "keep-alive",
                    "content-type": "application/json",
                    "host": "10.10.10.100",
                    "postman-token": "4703ffe2-a3c4-4810-aba5-1cab3b8519bf",
                    "user-agent": "PostmanRuntime/7.24.1"
                },
                "method": "DELETE",
                "url": "/logs"
            },
            "response": {
                "body": {
                    "errors": [],
                    "help": {},
                    "message": "Deleted User Logs"
                },
                "headers": {
                    "access-control-allow-origin": "*",
                    "content-length": "53",
                    "content-type": "application/json; charset=utf-8",
                    "etag": "W/\"35-4Z9JtbPU9++m2altd9yNyaWiE/E\""
                },
                "statusCode": 200
            },
            "user": {}
        }
    ]
}

Updated about a month ago


Logging


How to retrieve and delete the logs for your Orka environment. Administrators-only. API-only.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.


© 2019-2020 Copyright MacStadium, Inc. – Documentation built with readme.io. Orka is a registered trademark of MacStadium, Inc.