Sazabi
APILog streams

List log streams

GET
/log-streams

List the log streams that belong to a log source.

Query Parameters

logSourceId*string

Log source ID to list log streams for.

Formatuuid
enabled?boolean

Optional filter on log stream ingestion state. Omit to list all log streams; pass true for only enabled log streams or false for only paused log streams.

Response Body

application/json

curl -X GET "https://example.com/log-streams?logSourceId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "streams": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "logSourceId": "7efc89d3-d050-4aa1-9ef7-0c937654d327",      "displayName": "string",      "config": {        "property1": null,        "property2": null      },      "status": "pending",      "errorMessage": "string",      "enabled": true,      "createdAt": "2019-08-24T14:15:22Z",      "endpointCards": [        {          "kind": "url",          "label": "string",          "url": "string",          "host": "string",          "port": -9007199254740991,          "description": "string",          "extraCredential": {            "label": "string",            "value": "string",            "description": "string"          }        }      ]    }  ]}