curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/5/logs/data-setup/v2 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true,
"format": "TARGET_FORMAT_UNSPECIFIED"
}
'{
"target": {
"s3": {
"bucket": "bucket",
"externalId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"region": "us-west-2",
"roleArn": "arn:aws:iam::123456789012:role/CoralogixArchive"
},
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"format": "TARGET_FORMAT_UNSPECIFIED",
"isActive": true
}
}
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/5/logs/data-setup/v2 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true,
"format": "TARGET_FORMAT_UNSPECIFIED"
}
'{
"target": {
"s3": {
"bucket": "bucket",
"externalId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"region": "us-west-2",
"roleArn": "arn:aws:iam::123456789012:role/CoralogixArchive"
},
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"format": "TARGET_FORMAT_UNSPECIFIED",
"isActive": true
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt
Use this file to discover all available pages before exploring further.
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?