v1
latestOpenAPI 3.0.32026-07-14314472448.6 KBdatasources
correlations
Updates a correlation.
patch/datasources/uid/{sourceUID}/correlations/{correlationUID}
Path parameters
sourceUIDstring required
correlationUIDstring required
Request body
Example request
{
"config": {
"field": "message",
"target": {
"prop1": "value1",
"prop2": "value"
},
"transformations": [
{
"type": "logfmt"
},
{
"expression": "(Superman|Batman)",
"type": "regex",
"variable": "name"
}
]
},
"description": "Logs to Traces",
"label": "My label"
}Response
(empty)
Example response
{
"message": "Correlation updated",
"result": {
"config": {
"field": "message",
"target": {
"prop1": "value1",
"prop2": "value"
}
},
"description": "Logs to Traces",
"label": "My Label",
"orgId": 1,
"sourceUID": "d0oxYRg4z",
"targetUID": "PE1C5CBDA0504A6A3",
"uid": "50xhMlg9k"
}
}