Pipelines
A pipeline consists of the building blocks of a centralized logging system including supported log agents and log sources and also public endpoints to push and access logs.
This tag groups all operations for pipelines.
This endpoint enables retrieving all Pipelines using pagination and optional filters.
The first element (of the total list of elements) to include in the response. Use this parameter together with the limit for pagination.
0
Example: 0
The maximum number of elements to return. Use this parameter together with the offset for pagination.
100
Example: 100
The field to order the results by. If not provided, the results will be ordered by the default field.
-createdDate
Possible values: GET /pipelines HTTP/1.1
Host: logging.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "930b1f07-e846-54fa-b447-9b78905ff2ef",
"type": "collection",
"href": "/pipelines",
"items": [
{
"id": "f72521ba-1590-5998-bf96-6eb997a5887d",
"type": "pipeline",
"href": "/pipelines/f72521ba-1590-5998-bf96-6eb997a5887d",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE"
},
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
],
"tcpAddress": "tcp-1234.logging.de-txl.ionos.com",
"httpAddress": "1234.logging.de-txl.ionos.com",
"grafanaAddress": "grafana.logging.de-txl.ionos.com",
"resourceTier": "s",
"key": "momSrlgAAEmaYEvBsMr^HsYn"
}
}
],
"offset": 0,
"limit": 42,
"_links": {
"prev": "http://PREVIOUS-PAGE-URI",
"self": "http://THIS-PAGE-URI",
"next": "http://NEXT-PAGE-URI"
}
}
Creates a new Pipeline.
The full Pipeline needs to be provided to create the object. Optional data will be filled with defaults or left empty.
A pipeline consists of the building blocks of a centralized logging system including supported log agents and log sources and also public endpoints to push and access logs.
POST /pipelines HTTP/1.1
Host: logging.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
]
}
}
{
"id": "f72521ba-1590-5998-bf96-6eb997a5887d",
"type": "pipeline",
"href": "/pipelines/f72521ba-1590-5998-bf96-6eb997a5887d",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE"
},
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
],
"tcpAddress": "tcp-1234.logging.de-txl.ionos.com",
"httpAddress": "1234.logging.de-txl.ionos.com",
"grafanaAddress": "grafana.logging.de-txl.ionos.com",
"resourceTier": "s",
"key": "momSrlgAAEmaYEvBsMr^HsYn"
}
}
Returns the Pipeline by ID.
The ID (UUID) of the Pipeline.
f72521ba-1590-5998-bf96-6eb997a5887d
GET /pipelines/{pipelineId} HTTP/1.1
Host: logging.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "f72521ba-1590-5998-bf96-6eb997a5887d",
"type": "pipeline",
"href": "/pipelines/f72521ba-1590-5998-bf96-6eb997a5887d",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE"
},
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
],
"tcpAddress": "tcp-1234.logging.de-txl.ionos.com",
"httpAddress": "1234.logging.de-txl.ionos.com",
"grafanaAddress": "grafana.logging.de-txl.ionos.com",
"resourceTier": "s",
"key": "momSrlgAAEmaYEvBsMr^HsYn"
}
}
Deletes the specified Pipeline.
The ID (UUID) of the Pipeline.
f72521ba-1590-5998-bf96-6eb997a5887d
DELETE /pipelines/{pipelineId} HTTP/1.1
Host: logging.de-fra.ionos.com
Authorization: Bearer JWT
Accept: */*
No content
Changes Pipeline with the provided ID. Values provides will replace the existing data.
The ID (UUID) of the Pipeline.
f72521ba-1590-5998-bf96-6eb997a5887d
Metadata
PATCH /pipelines/{pipelineId} HTTP/1.1
Host: logging.de-fra.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"metadata": {},
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
]
}
}
{
"id": "f72521ba-1590-5998-bf96-6eb997a5887d",
"type": "pipeline",
"href": "/pipelines/f72521ba-1590-5998-bf96-6eb997a5887d",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"state": "AVAILABLE"
},
"properties": {
"name": "Pipeline1",
"logs": [
{
"source": "generic",
"tag": "tag1",
"protocol": "http",
"destinations": [
{
"type": "loki",
"retentionInDays": 30
}
]
}
],
"tcpAddress": "tcp-1234.logging.de-txl.ionos.com",
"httpAddress": "1234.logging.de-txl.ionos.com",
"grafanaAddress": "grafana.logging.de-txl.ionos.com",
"resourceTier": "s",
"key": "momSrlgAAEmaYEvBsMr^HsYn"
}
}
Was this helpful?