Skip to main content

Create the log fetcher for cluster

POST 

/v1/spectroclusters/:uid/features/logFetcher

Create the log fetcher for cluster

Request

Path Parameters

    uid stringrequired

    Cluster uid for which log is requested

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    durationint64

    Default value: 10

    Duration for which log is requested

    k8s

    Cluster Log Fetcher K8s

    labelSelectorstring[]
    namespacesstring[]
    modestring

    Possible values: [cluster, app]

    Default value: cluster

    Accepted Values - ["cluster", "app"]. if "app" then logs will be fetched from the virtual cluster

    noOfLinesint64

    Default value: 1000

    No of lines of logs requested

    node

    Cluster Log Fetcher Node Request

    logsstring[]

    Array of logs

Responses

Created successfully

Response Headers

  • AuditUid

    string

    Audit uid for the request

Schema

    uidstringrequired
Loading...