Create Source

Create Source

Create metadata (description or tags) for a specific source

Request
URI
POST
https://{api_host}/api/v2/source
COPY
Request Body

Example Body:

{
    "sourceName": "source.name",
    "tags": {"sourceTag1": true},
    "description": "Source Description"
}
Source of type(s) application/json
Optional

Show optional properties

{
    "id": "string",
    "sourceName": "string"
}
{
    "hidden": false,
    "id": "string",
    "description": "string",
    "createdEpochMillis": 0,
    "updatedEpochMillis": 0,
    "tags": {
        "tags": false
    },
    "markedNewEpochMillis": 0,
    "creatorId": "string",
    "updaterId": "string",
    "sourceName": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerSource of type(s) application/json
"ResponseContainerSource Object"
object
status
Required

status

object
response
Optional

A source (sometimes called host) of time series data from telemetry ingestion


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"id:"string","sourceName:"string"}' https://{api_host}/api/v2/source