Skip to main content

List log sources

GET 

/node/:hostname/log/source

List unique syslog identifiers (log sources) available in the journal on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Responses

List of log sources.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    sources string[]

    Unique syslog identifiers on this agent.

    error string

    Error message if the agent failed.

  • ]

Loading...