Modify a Logging Pipeline Instance

You can modify your logging pipeline by sending a PATCH request with a specific pipeline ID.

Note: To modify a logging pipeline, you can use the same payload that you use in the POST request for creating a logging pipeline. For more information, see Set Up a Logging Pipeline Instance.

The following is a sample request. Remember to replace the {pipelineID} with a valid ID of the respective logging pipeline.

curl --location \
--request PATCH 'https://logging.de-txl.ionos.com/pipelines/{pipelineID}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
    "properties": {
        "name": "new-logging-name",
        "logs": [
            {
                "source": "kubernetes1",
                "tag": "kub1",
                "protocol": "tcp",
                "destinations": [
                    {
                        "type": "loki",
                        "retentionInDays": 7
                    }
                ]
            }
        ]
    }
}'

Last updated

Revision created

commented latest release