Log config
Create a log configuration
Creates a new log configuration or overwrites an existing one, replacing any previous values.
post/controlplane/log/config
Request body
Example request
{
"expires_at": "2024-07-12T15:00:00Z",
"account_id": 2345,
"selector": {
"environment": "production"
},
"configuration": {
"log_level": "debug",
"no_error_sampling": 50
}
}Response
The operation was successful.
Example response
{
"expires_at": "2024-07-12T15:00:00Z",
"account_id": 2345,
"selector": {
"environment": "production"
},
"configuration": {
"log_level": "debug",
"no_error_sampling": 50
}
}