Authorizations
API key authentication
Body
application/json
Response
This data structure is obtained after setting a storage target for logs.
This data structure represents a target to archive logs.
- Target
- Target
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/logs/data-setup/v2 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"isActive": true,
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}'{
"target": {
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"isActive": true
},
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/logs/data-setup/v2 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"isActive": true,
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}'{
"target": {
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"isActive": true
},
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}
}API key authentication
This data structure is obtained after setting a storage target for logs.
This data structure represents a target to archive logs.
Show child attributes
Was this page helpful?