Set Up a Logging Pipeline Instance
Request to create a logging pipeline
curl --location \
--request POST 'https://logging.de-txl.ionos.com/pipelines' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $TOKEN' \
--data '{
"properties": {
"name": "demo",
"logs": [
{
"source": "docker",
"tag": "dock",
"protocol": "tcp",
"labels": [
"label1d"
],
"destinations": [
{
"type": "loki",
"retentionInDays": 7
}
]
},
{
"source": "kubernetes",
"tag": "k8s",
"protocol": "tcp",
"destinations":
[
{
"type": "loki",
"retentionInDays": 14
}
]
}
]
}
}'Response
Create a pipeline with custom labels
Last updated
Was this helpful?