Docs are work in progress
Skip to main content

Export machine logs data

POST 

/api/v1/machines/:machineIdOrAlias/logs/export

This API endpoint export logs data (e.g., download .logs file) for the machine identified by the provided machineId or machine alias.

Request

Path Parameters

    machineIdOrAlias stringrequired

    The machineId - unique id of the machine, alias - machine alias

Body

required

The request body containing the required details to export machine logs

    search string
    start int64

    Timestamp in epoch nanoseconds

    end int64

    Timestamp in epoch nanoseconds

    stream stringrequired

Responses

Success response

Schema

    success boolean
    message string
    status string
    statusCode int32
    errorCode string
    subErrors object[]

    payload

    object

    Schema for file export response

    filePath string
Loading...