ves-io-schema-log_receiver-API-List

Examples of listing log_receiver

Usecase:

List log recervers.

Request using vesctl:

vesctl configuration list log_receiver --namespace documentation

vesctl yaml response:

items:
- annotations: {}
  labels: {}
  name: syslog
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: a6009a84-e0ef-4c5c-8eb3-04ecc949ce75

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/log_receivers'

curl response

HTTP/1.1 200 OK
Content-Length: 439
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:29:17 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "syslog",
      "uid": "a6009a84-e0ef-4c5c-8eb3-04ecc949ce75",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}