Download OpenAPI specification:Download
The Logging Service offers a centralized platform to collect and store logs from various systems and applications. It includes tools to search, filter, visualize, and create alerts based on your log data. This API provides programmatic control over logging pipelines, enabling you to create new pipelines or modify existing ones. It mirrors the functionality of the DCD visual tool, ensuring a consistent experience regardless of your chosen interface.
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.
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
orderBy | string Default: "-createdDate" Enum: "-createdDate" "-lastModifiedDate" "-name" "name" "createdDate" "lastModifiedDate" The field to order the results by. If not provided, the results will be ordered by the default field. |
{- "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": [
- {
- "public": true,
- "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.1234.logging.de-txl.ionos.com",
- "resourceTier": "s"
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
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.
Pipeline to create.
required | object (PipelineNoAddr) 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. |
{- "properties": {
- "name": "Pipeline1",
- "logs": [
- {
- "public": true,
- "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": [
- {
- "public": true,
- "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.1234.logging.de-txl.ionos.com",
- "resourceTier": "s"
}
}
Returns the Pipeline by ID.
pipelineId required | string <uuid> Example: f72521ba-1590-5998-bf96-6eb997a5887d The ID (UUID) of the Pipeline. |
{- "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": [
- {
- "public": true,
- "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.1234.logging.de-txl.ionos.com",
- "resourceTier": "s"
}
}
Changes Pipeline with the provided ID. Values provides will replace the existing data.
pipelineId required | string <uuid> Example: f72521ba-1590-5998-bf96-6eb997a5887d The ID (UUID) of the Pipeline. |
patch Pipeline
object Metadata | |
required | object (PipelineNoAddr) 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. |
{- "metadata": { },
- "properties": {
- "name": "Pipeline1",
- "logs": [
- {
- "public": true,
- "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": [
- {
- "public": true,
- "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.1234.logging.de-txl.ionos.com",
- "resourceTier": "s"
}
}
Deletes the specified Pipeline.
pipelineId required | string <uuid> Example: f72521ba-1590-5998-bf96-6eb997a5887d The ID (UUID) of the Pipeline. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}
Generates a new key for a pipeline invalidating the old one. The key is used for authentication when sending logs.
This tag groups all operations for key.
Creates a new Key.
The full Key needs to be provided to create the object. Optional data will be filled with defaults or left empty.
pipelineId required | string <uuid> Example: f72521ba-1590-5998-bf96-6eb997a5887d The ID (UUID) of the Pipeline. |
Key to create.
Generates a new key for a pipeline invalidating the old one. The key is used for authentication when sending logs.
{ }
{- "key": "momSrlgAAEmaYEvBsMr^HsYn"
}
Central logging is a feature that allows you to use other products to send logs to a central location. This is useful for logging and analyzing logs from multiple sources.
This tag groups all operations for central.
This endpoint enables retrieving all CentralLogging using pagination and optional filters.
{- "id": "d9a741e7-1132-5b47-94d3-aabefa619c91",
- "type": "collection",
- "href": "/central",
- "items": [
- {
- "id": "40740a56-ee77-5bff-8abc-2dda26b3144f",
- "type": "centrallogging",
- "href": "/central/40740a56-ee77-5bff-8abc-2dda26b3144f",
- "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>",
}, - "properties": {
- "enabled": false
}
}
]
}
Returns the CentralLogging by ID.
centralId required | string <uuid> Example: 40740a56-ee77-5bff-8abc-2dda26b3144f The ID (UUID) of the CentralLogging. |
{- "id": "40740a56-ee77-5bff-8abc-2dda26b3144f",
- "type": "centrallogging",
- "href": "/central/40740a56-ee77-5bff-8abc-2dda26b3144f",
- "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>",
}, - "properties": {
- "enabled": false
}
}
Ensures that the CentralLogging with the provided ID is created or modified. The full CentralLogging needs to be provided to ensure (either update or create) the CentralLogging. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
centralId required | string <uuid> Example: 40740a56-ee77-5bff-8abc-2dda26b3144f The ID (UUID) of the CentralLogging. |
update CentralLogging
object Metadata | |
required | object (CentralLogging) Central logging is a feature that allows you to use other products to send logs to a central location. This is useful for logging and analyzing logs from multiple sources. |
{- "metadata": { },
- "properties": {
- "enabled": false
}
}
{- "id": "40740a56-ee77-5bff-8abc-2dda26b3144f",
- "type": "centrallogging",
- "href": "/central/40740a56-ee77-5bff-8abc-2dda26b3144f",
- "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>",
}, - "properties": {
- "enabled": false
}
}