curl -X POST "https://api.joinformal.com/core.v1.LogsService/UpdateLogConfiguration" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"logConfiguration": {
"id": "<string>",
"name": "<string>",
"encryptionKeyId": "<string>",
"scope": {
"scope": "LOG_CONFIGURATION_SCOPE_TYPE_UNSPECIFIED",
"resourceId": "<string>",
"connectorId": "<string>",
"spaceId": "<string>"
},
"request": {
"sql": {
"stripValues": true,
"encrypt": true
},
"encrypt": true,
"maxPayloadSize": 0,
"policyEvalInputRetention": "<string>"
},
"response": {
"encrypt": true,
"maxPayloadSize": 0,
"policyEvalInputRetention": "<string>"
},
"stream": {
"encrypt": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"session": {
"policyEvalInputRetention": "<string>"
}
}
}curl -X POST "https://api.joinformal.com/core.v1.LogsService/UpdateLogConfiguration" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"logConfiguration": {
"id": "<string>",
"name": "<string>",
"encryptionKeyId": "<string>",
"scope": {
"scope": "LOG_CONFIGURATION_SCOPE_TYPE_UNSPECIFIED",
"resourceId": "<string>",
"connectorId": "<string>",
"spaceId": "<string>"
},
"request": {
"sql": {
"stripValues": true,
"encrypt": true
},
"encrypt": true,
"maxPayloadSize": 0,
"policyEvalInputRetention": "<string>"
},
"response": {
"encrypt": true,
"maxPayloadSize": 0,
"policyEvalInputRetention": "<string>"
},
"stream": {
"encrypt": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"session": {
"policyEvalInputRetention": "<string>"
}
}
}API key authentication. Get your API key from the Formal dashboard.
1Show child attributes
x >= -1duration.gte = 0s duration.gte_lt = 0s duration.gte_lt_exclusive = 0s duration.gte_lte = 0s duration.gte_lte_exclusive = 0s duration.lte = 720h0m0s
Success
Show child attributes
11Show child attributes
LOG_CONFIGURATION_SCOPE_TYPE_UNSPECIFIED, LOG_CONFIGURATION_SCOPE_TYPE_RESOURCE, LOG_CONFIGURATION_SCOPE_TYPE_CONNECTOR, LOG_CONFIGURATION_SCOPE_TYPE_SPACE, LOG_CONFIGURATION_SCOPE_TYPE_ORG Show child attributes
x >= -1duration.gte = 0s duration.gte_lt = 0s duration.gte_lt_exclusive = 0s duration.gte_lte = 0s duration.gte_lte_exclusive = 0s duration.lte = 720h0m0s
Show child attributes
x >= -1duration.gte = 0s duration.gte_lt = 0s duration.gte_lt_exclusive = 0s duration.gte_lte = 0s duration.gte_lte_exclusive = 0s duration.lte = 720h0m0s
timestamp.lt_now = true
timestamp.lt_now = true
Was this page helpful?