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: 88d7c483-a652-4e42-abf5-51f9a4829b1f

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build101377873_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, 16 Dec 2020 09:12:32 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "syslog",
      "uid": "88d7c483-a652-4e42-abf5-51f9a4829b1f",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}